Class MkColHandler
Implementation of the IMkColHandler interface.
Inherited Members
Namespace:FubarDev.WebDavServer.Handlers.Impl
Assembly:FubarDev.WebDavServer.dll
Syntax
public class MkColHandler : IMkColHandler, IClass1Handler, IHandler
Constructors
| Improve this Doc View SourceMkColHandler(IFileSystem, IWebDavContext)
Initializes a new instance of the MkColHandler class.
Declaration
public MkColHandler(IFileSystem rootFileSystem, IWebDavContext context)
Parameters
Type | Name | Description |
---|---|---|
IFileSystem | rootFileSystem | 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 SourceMkColAsync(String, CancellationToken)
Creates a collection at the given path
Declaration
public Task<IWebDavResult> MkColAsync(string path, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path to the collection to create |
CancellationToken | cancellationToken | The cancellcation token |
Returns
Type | Description |
---|---|
Task<IWebDavResult> | The result of the operation |