Class PropFindHandler
The implementation of the IPropFindHandler interface
Inherited Members
Namespace:FubarDev.WebDavServer.Handlers.Impl
Assembly:FubarDev.WebDavServer.dll
Syntax
public class PropFindHandler : IPropFindHandler, IClass1Handler, IHandler
Constructors
| Improve this Doc View SourcePropFindHandler(IFileSystem, IWebDavContext, IOptions<PropFindHandlerOptions>)
Initializes a new instance of the PropFindHandler class.
Declaration
public PropFindHandler([NotNull] IFileSystem fileSystem, [NotNull] IWebDavContext context, [CanBeNull] IOptions<PropFindHandlerOptions> options)
Parameters
Type | Name | Description |
---|---|---|
IFileSystem | fileSystem | The root file system |
IWebDavContext | context | The WebDAV request context |
Microsoft.Extensions.Options.IOptions<PropFindHandlerOptions> | options | The options for this handler |
Properties
| Improve this Doc View SourceFileSystem
Gets the root file system
Declaration
[NotNull]
public IFileSystem FileSystem { get; }
Property Value
Type | Description |
---|---|
IFileSystem |
HttpMethods
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 SourcePropFindAsync(String, propfind, CancellationToken)
Queries properties (dead or live) for a given path.
Declaration
public Task<IWebDavResult> PropFindAsync(string path, propfind request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path to query the properties for |
propfind | request | Some information about the properties to query |
CancellationToken | cancellationToken | The cancellcation token |
Returns
Type | Description |
---|---|
Task<IWebDavResult> | The result of the operation |