Click or drag to resize

RequestAsync Class

IT Hit WebDAV Classes Reference
Represents an incoming HTTP request.
Inheritance Hierarchy

Namespace:  ITHit.Server
Assembly:  ITHit.Server (in ITHit.Server.dll) Version: 13.3.13068
public abstract class RequestAsync

The RequestAsync type exposes the following members.

Protected methodRequestAsync
Initializes a new instance of the RequestAsync class
Public propertyApplicationPath
Gets virtual application root path on the server.
Public propertyContentEncoding
Gets the character set of the entity-body.
Public propertyContentLength
Specifies the length, in bytes, of content sent by the client.
Public propertyContentType
Gets the MIME content type of the incoming request.
Public propertyHeaders
Gets a collection of HTTP headers.
Public propertyHttpMethod
Gets the HTTP method specified by the client.
Public propertyInputStream
Gets the contents of the incoming HTTP entity body.
Public propertyRawUrl
Gets information about the URL of the current request.
Public propertyUrlPrefix
Gets concatenated request scheme, host and port, like:
Public propertyUserAgent
Gets the User-Agent header.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Extension Methods
Public Extension MethodGetClientLockTokens
Gets a list of lock tokens submitted by the client.
(Defined by DavRequestExtensions.)

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 context, request and response implementrations for each of the above 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 ContextAsyncTHierarchyItem constructor.

See Also