options_sync
Description:
Issues OPTIONS request on the provided uri
, or, in case it's null
, on the URI defined in associated
Source.
The out_capabilities
contains a set of returned capabilities. Some known are defined as E_WEBDAV_CAPABILITY_CLASS_1, and so on.
The 'value' of the GenericSet doesn't have any particular meaning and the strings are
compared case insensitively. Free the hash table with g_hash_table_destroy
, when no longer needed. The returned value can be
null
on success, it's when the server doesn't provide the information.
The out_allows
contains a set of allowed methods returned by the server. Some known are defined as SOUP_METHOD_OPTIONS
, and so on. The 'value' of the GenericSet doesn't have any particular meaning
and the strings are compared case insensitively. Free the hash table with g_hash_table_destroy
, when no longer needed. The returned
value can be null
on success, it's when the server doesn't provide the information.
Parameters:
this | |
uri |
URI to issue the request for, or |
out_capabilities |
return location for DAV capabilities |
out_allows |
return location for allowed operations |
cancellable |
optional Cancellable object, or |
Returns:
Whether succeeded. |