getctag_sync


Description:

public bool getctag_sync (string? uri, out string out_ctag, Cancellable? cancellable = null) throws Error

Issues a getctag property request for a collection identified by uri, or, in case it's null, on the URI defined in associated Source.

The ctag is a collection tag, which changes whenever the collection changes (similar to etag). The getctag is an extension, thus the function can fail when the server doesn't support it.

Free the returned out_ctag with g_free, when no longer needed.

Parameters:

this

an WebDAVSession

uri

URI to issue the request for, or null to read from Source

out_ctag

return location for the ctag

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.




2022 vala-language.org