Interface IPutHandler
Interface for the PUT
handler
Inherited Members
Namespace:FubarDev.WebDavServer.Handlers
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IPutHandler : IClass1Handler, IHandler
Methods
| Improve this Doc View SourcePutAsync(String, Stream, CancellationToken)
Creates or updates a document at the given path
Declaration
[NotNull]
[ItemNotNull]
Task<IWebDavResult> PutAsync([NotNull] string path, [NotNull] 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 |