Show / Hide Table of Contents

Interface ILockHandler

Interface for the LOCK handler

Inherited Members
IHandler.HttpMethods
Namespace:FubarDev.WebDavServer.Handlers
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface ILockHandler : IClass2Handler, IHandler

Methods

| Improve this Doc View Source

LockAsync(String, lockinfo, CancellationToken)

Creates a lock for the given path using the information in info.

Declaration
[NotNull]
[ItemNotNull]
Task<IWebDavResult> LockAsync([NotNull] string path, [NotNull] lockinfo info, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The path to create the lock for

lockinfo info

The additional information used to create the lock

CancellationToken cancellationToken

The cancellcation token

Returns
Type Description
Task<IWebDavResult>

The result of the operation

| Improve this Doc View Source

RefreshLockAsync(String, IfHeader, TimeoutHeader, CancellationToken)

Refreshes a lock for the given path using the lock identified by the ifHeader.

Declaration
[NotNull]
[ItemNotNull]
Task<IWebDavResult> RefreshLockAsync([NotNull] string path, [NotNull] IfHeader ifHeader, [CanBeNull] TimeoutHeader timeoutHeader, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The path to create the lock for

IfHeader ifHeader

The If header used to identify the lock

TimeoutHeader timeoutHeader

The new timeout values

CancellationToken cancellationToken

The cancellcation token

Returns
Type Description
Task<IWebDavResult>

The result of the operation

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX