EDataServer.SourceWebdav.set_resource_query

### Method

# EDataServer SourceWebdavset_resource_query

since: 3.6

#### Declaration [src]

    void
    e_source_webdav_set_resource_query (
      ESourceWebdav* extension,
      const gchar* resource_query
    )

#### Description [src]

Sets the URI query required to access a resource on a WebDAV server.

This is typically used when the `ESourceWebdav:resource-path` points not to the resource itself but to a web program that generates the resource content on-the-fly. The `ESourceWebdav:resource-query` holds the input values for the program.

The internal copy of `resource_query` is automatically stripped of leading and trailing whitespace. If the resulting string is empty, `NULL` is set instead.

Available since: 3.6

Sets property | `EDataServer.SourceWebdav:resource-query`

#### Parameters

`resource_query`

  Type: `const gchar*`

  The query to access a WebDAV resource, or `NULL`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.