Namespace: ITHit.WebDAV.Server.Extensibility
The DavRequest type exposes the following members.
Name | Description | |
---|---|---|
DavRequest | Initializes a new instance of the DavRequest class |
Name | Description | |
---|---|---|
ApplicationPath |
Gets virtual application root path on the server.
| |
ClientLockTokens |
Gets a list of lock tokens submitted by the client.
| |
ContentEncoding |
Gets the character set of the entity-body.
| |
ContentLength |
Specifies the length, in bytes, of content sent by the client.
| |
ContentType |
Gets the MIME content type of the incoming request.
| |
Headers |
Gets a collection of HTTP headers.
| |
HttpMethod |
Gets the HTTP method specified by the client.
| |
InputStream |
Gets the contents of the incoming HTTP entity body.
| |
RawUrl |
Gets information about the URL of the current request.
| |
UrlPrefix |
Gets concatenated request scheme, host and port, like: http://www.ithit.com:8080
| |
UserAgent |
Gets the User-Agent header.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
ClientLockTokens property provides access to the lock tokens send by WebDAV client. Before modifying locked WebDAV Class 2 server items you must check if client provided necessary lock token.
Usually you do not have to implement this class if you host your server in ASP.NET Core, ASP.NET, OWIN or HttpListener. The library provides ready to use WebDAV context, request and response implementrations for each of the ablove environments.
You will derive your class from this class only if you need to host your server in any other environment from listed above and than pass instance of your class into the DavContextBaseAsync constructor.