Class PropPatchHandler
Implementation of the IPropPatchHandler interface
Inherited Members
Namespace:FubarDev.WebDavServer.Handlers.Impl
Assembly:FubarDev.WebDavServer.dll
Syntax
public class PropPatchHandler : IPropPatchHandler, IClass1Handler, IHandler
Constructors
| Improve this Doc View SourcePropPatchHandler(IFileSystem, IWebDavContext)
Initializes a new instance of the PropPatchHandler class.
Declaration
public PropPatchHandler([NotNull] IFileSystem fileSystem, [NotNull] IWebDavContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| IFileSystem | fileSystem | The root file system |
| IWebDavContext | context | The WebDAV request context |
Properties
| Improve this Doc View SourceHttpMethods
Gets the HTTP methods that are processed by this handler
Declaration
public IEnumerable<string> HttpMethods { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<String> |
Implements
Methods
| Improve this Doc View SourcePropPatchAsync(String, propertyupdate, CancellationToken)
Patches (sets or removes) properties from the given path
Declaration
public Task<IWebDavResult> PropPatchAsync(string path, propertyupdate request, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| String | path | The path to patch the properties for |
| propertyupdate | request | The properties to patch |
| CancellationToken | cancellationToken | The cancellcation token |
Returns
| Type | Description |
|---|---|
| Task<IWebDavResult> | The result of the operation |