Class WebDavResponse
The implementation of the IWebDavResponse
Inherited Members
Namespace:FubarDev.WebDavServer.AspNetCore
Assembly:FubarDev.WebDavServer.AspNetCore.dll
Syntax
public class WebDavResponse : IWebDavResponse
Remarks
This class wraps a Microsoft.AspNetCore.Http.HttpResponse to be accessible by the WebDAV serves IWebDavResult.
Constructors
| Improve this Doc View SourceWebDavResponse(IWebDavDispatcher, HttpResponse)
Initializes a new instance of the WebDavResponse class.
Declaration
public WebDavResponse(IWebDavDispatcher dispatcher, HttpResponse response)
Parameters
Type | Name | Description |
---|---|---|
IWebDavDispatcher | dispatcher | The WebDAV HTTP method dispatcher |
Microsoft.AspNetCore.Http.HttpResponse | response | The ASP.NET Core HTTP response |
Properties
| Improve this Doc View SourceBody
Declaration
public Stream Body { get; }
Property Value
Type | Description |
---|---|
Stream |
ContentType
Declaration
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
String |
Dispatcher
Declaration
public IWebDavDispatcher Dispatcher { get; }
Property Value
Type | Description |
---|---|
IWebDavDispatcher |
Implements
| Improve this Doc View SourceHeaders
Declaration
public IDictionary<string, string[]> Headers { get; }
Property Value
Type | Description |
---|---|
IDictionary<String, String[]> |