Show / Hide Table of Contents

Class PutHandler

Implementation of the IPutHandler interface

Inheritance
Object
PutHandler
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 PutHandler : IPutHandler, IClass1Handler, IHandler

Constructors

| Improve this Doc View Source

PutHandler(IFileSystem, IWebDavContext)

Initializes a new instance of the PutHandler class.

Declaration
public PutHandler(IFileSystem fileSystem, IWebDavContext context)
Parameters
Type Name Description
IFileSystem fileSystem

The root file system

IWebDavContext context

The WebDAV request context

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

PutAsync(String, Stream, CancellationToken)

Creates or updates a document at the given path

Declaration
public Task<IWebDavResult> PutAsync(string path, Stream data, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The path where to create or update the document

Stream data

The data to write to the new or existing document

CancellationToken cancellationToken

The cancellcation token

Returns
Type Description
Task<IWebDavResult>

The result of the operation

Implements
IPutHandler.PutAsync(String, Stream, CancellationToken)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX