Class OptionsHandler
Implementation of the IOptionsHandler interface.
Inherited Members
Namespace:FubarDev.WebDavServer.Handlers.Impl
Assembly:FubarDev.WebDavServer.dll
Syntax
public class OptionsHandler : IOptionsHandler, IClass1Handler, IHandler
Constructors
| Improve this Doc View SourceOptionsHandler(IFileSystem)
Initializes a new instance of the OptionsHandler class.
Declaration
public OptionsHandler([NotNull] IFileSystem rootFileSystem)
Parameters
Type | Name | Description |
---|---|---|
IFileSystem | rootFileSystem | The root file system |
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 SourceOptionsAsync(String, CancellationToken)
Queries the options for a given path.
Declaration
public Task<IWebDavResult> OptionsAsync(string path, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
String | path | The root-relataive file system path to query the options for |
CancellationToken | cancellationToken | The cancellcation token |
Returns
Type | Description |
---|---|
Task<IWebDavResult> | The result of the operation |
Implements
Remarks
This is used to identify the WebDAV capabilities at a given URL.