Interface IWebDavContext
The WebDAV request context
Namespace:FubarDev.WebDavServer
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IWebDavContext
Remarks
This is the equivalent of ASP.NET Cores HttpContext
Properties
| Improve this Doc View SourceAbsoluteRequestUrl
Gets the absolute request URL (e.g. http://localhost/webdav/test.txt)
Declaration
[NotNull]
Uri AbsoluteRequestUrl { get; }
Property Value
Type | Description |
---|---|
Uri |
BaseUrl
Gets the base URL of the web service (e.g. http://localhost/webdav/)
Declaration
[NotNull]
Uri BaseUrl { get; }
Property Value
Type | Description |
---|---|
Uri |
DetectedClient
Gets the parsed user agent
Declaration
[NotNull]
IUAParserOutput DetectedClient { get; }
Property Value
Type | Description |
---|---|
IUAParserOutput |
Dispatcher
Gets the WebDAV dispatcher
Declaration
[NotNull]
IWebDavDispatcher Dispatcher { get; }
Property Value
Type | Description |
---|---|
IWebDavDispatcher |
RelativeRequestUrl
Gets the relative request URL (e.g. /webdav/test.txt
)
Declaration
[NotNull]
Uri RelativeRequestUrl { get; }
Property Value
Type | Description |
---|---|
Uri |
RequestHeaders
Gets the request headers (partially parsed)
Declaration
[NotNull]
IWebDavRequestHeaders RequestHeaders { get; }
Property Value
Type | Description |
---|---|
IWebDavRequestHeaders |
RequestProtocol
Gets the request protocol (http
or https
)
Declaration
[NotNull]
string RequestProtocol { get; }
Property Value
Type | Description |
---|---|
String |
RootUrl
Gets the root URL of the web service (e.g. http://localhost/)
Declaration
[NotNull]
Uri RootUrl { get; }
Property Value
Type | Description |
---|---|
Uri |
User
Gets the authenticated user
Declaration
[NotNull]
IPrincipal User { get; }
Property Value
Type | Description |
---|---|
IPrincipal |