Note: This API is now obsolete.
Namespace: ITHit.WebDAV.Server.Core
The DavContextCoreBaseAsync type exposes the following members.
Name | Description | |
---|---|---|
DavContextCoreBaseAsync |
Initializes new instance of the DavContextCoreBaseAsync class. Uses HttpContext to populate its request and response.
|
Name | Description | |
---|---|---|
Engine |
Instance of Engine which is currently executing the request.
(Inherited from ContextAsyncTHierarchyItemAsync.) | |
Exception |
Exception which occurred during request execution.
(Inherited from ContextAsyncTHierarchyItemAsync.) | |
Request |
Object representing current request.
(Inherited from ContextAsyncTHierarchyItemAsync.) | |
Response |
Object representing current response.
(Inherited from ContextAsyncTHierarchyItemAsync.) |
Name | Description | |
---|---|---|
BeforeResponseAsync |
This method is called right before engine starts writing response.
(Inherited from ContextAsyncTHierarchyItemAsync.) | |
EnsureBeforeResponseWasCalledAsync |
Calls BeforeResponseAsync only first time this method is invoked.
(Inherited from ContextAsyncTHierarchyItemAsync.) | |
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.) | |
GetHierarchyItemAsync |
Implementation of this abstract method is used by the engine to find hierarchy item objects by path.
(Inherited from ContextAsyncTHierarchyItemAsync.) | |
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.) |
You must create a new instance of your class derived from this class in each request to your WebDAV server.
In case of middleware you will pass your class derived from this class into [!:DavEngineMiddleware] as a type parameter. The [!:DavEngineMiddleware] will automatically create instance of this class and passe to RunAsync(ContextAsyncIHierarchyItemAsync) method.
Provides constructor that takes HttpContext.