Show / Hide Table of Contents

Class OptionsHandler

Implementation of the IOptionsHandler interface.

Inheritance
Object
OptionsHandler
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Handlers.Impl
Assembly:FubarDev.WebDavServer.dll
Syntax
public class OptionsHandler : IOptionsHandler, IClass1Handler, IHandler

Constructors

| Improve this Doc View Source

OptionsHandler(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 Source

HttpMethods

Gets the HTTP methods that are processed by this handler

Declaration
public IEnumerable<string> HttpMethods { get; }
Property Value
Type Description
IEnumerable<String>
Implements
IHandler.HttpMethods

Methods

| Improve this Doc View Source

OptionsAsync(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
IOptionsHandler.OptionsAsync(String, CancellationToken)
Remarks

This is used to identify the WebDAV capabilities at a given URL.

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX