Show / Hide Table of Contents

Interface IWebDavClass2

Interface for WebDAV class 2 support

Inherited Members
IWebDavClass.HttpMethods
IWebDavClass.WebDavContext
IWebDavClass.OptionsResponseHeaders
IWebDavClass.DefaultResponseHeaders
IWebDavClass.GetProperties(IEntry)
IWebDavClass.TryCreateDeadProperty(IPropertyStore, IEntry, XName, IDeadProperty)
Namespace:FubarDev.WebDavServer.Dispatchers
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IWebDavClass2 : IWebDavClass

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
[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

UnlockAsync(String, LockTokenHeader, CancellationToken)

Removes a LOCK with the given stateToken from the given path

Declaration
[NotNull]
[ItemNotNull]
Task<IWebDavResult> UnlockAsync([NotNull] string path, [NotNull] LockTokenHeader stateToken, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The path to remove the lock for

LockTokenHeader stateToken

The state token of the lock to remove

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