refresh_lock_sync


Description:

public bool refresh_lock_sync (string? uri, string lock_token, int32 lock_timeout, Cancellable? cancellable = null) throws Error

Refreshes existing lock lock_token for a resource identified by uri, or, in case it's null, on the URI defined in associated Source.

The lock_token is returned from lock_sync and the uri should be the same as that used with lock_sync.

Parameters:

this

an WebDAVSession

uri

URI to lock, or null to read from Source

lock_token

token of an existing lock

lock_timeout

timeout for the lock, in seconds, on 0 to infinity

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.