Click or drag to resize

RequestAsync Class

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

Namespace:  ITHit.Server
Assembly:  ITHit.Server (in ITHit.Server.dll) Version: 9.1.5460-Beta
Syntax
public abstract class RequestAsync

The RequestAsync type exposes the following members.

Constructors
  NameDescription
Protected methodRequestAsync
Initializes a new instance of the RequestAsync class
Top
Properties
  NameDescription
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: http://www.ithit.com:8080
Public propertyUserAgent
Gets the User-Agent header.
Top
Methods
  NameDescription
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.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetClientLockTokens
Gets a list of lock tokens submitted by the client.
(Defined by DavRequestExtensions.)
Top
Remarks

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 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 ContextAsyncTHierarchyItemAsync constructor.

See Also