Http |
public class HttpServerRequest : HttpIncomingRequestResponse
The HttpServerRequest type exposes the following members.
| Name | Description | |
|---|---|---|
| HttpServerRequest | Creates an instance of the HTTPServerRequest class. |
| Name | Description | |
|---|---|---|
| Chunked |
Determines whether data being transferred will be chunked or not.
(Inherited from HttpIncomingRequestResponse) | |
| Client |
Always returns false for Client Property.
(Overrides HttpRequestResponseClient) | |
| ContentBytes |
Returns the HTTP body in the form of a byte array.
The stream unexpected ended.Error reading HTTP chunk data. (Inherited from HttpIncomingRequestResponse) | |
| ContentLength |
Contains the ContentLength header value received from the remote side.
If the remote did not provide a length (for example in HTTP 1.0 scenarios, or if Keep-Alive is not supported), accessing the property will raise an exception.
Use the HasContentLength property to determine if a valid ContentLength has been received.
(Inherited from HttpIncomingRequestResponse) | |
| ContentStream |
Returns a Stream object with the HTTP body of the received request (server) or response (client).
Because ContentStream provides you with direct access to the underlying Connection Stream,
it is the fastest and most efficient way to access the response (as opposed to ContentString and ContentBytes,
both of which involve copying the entire data from the stream into a memory buffer).
(Inherited from HttpIncomingRequestResponse) | |
| ContentString |
Returns the HTTP body in form of a String object.
The stream unexpected ended.Error reading HTTP chunk data. (Inherited from HttpIncomingRequestResponse) | |
| DataConnection |
Gets the Data Connection for the HttpIncomingRequestResponse instance.
(Inherited from HttpIncomingRequestResponse) | |
| Encoding |
Determines the Encoding for the HTTP Request Response
(Inherited from HttpRequestResponse) | |
| HasContentLength |
Specifies whether the HTTP header provides a ContentLength field.
(Inherited from HttpIncomingRequestResponse) | |
| HasOnTransferProgress |
Determines whether the current HTTPRequest Response has an OnTransferProgress event handler.
(Inherited from HttpRequestResponse) | |
| Header |
Get or set the HTTP Response Header
(Inherited from HttpRequestResponse) | |
| IsCompleted |
Gets a value that indicates whether the asynchronous operation completed.
(Inherited from HttpRequestResponse) | |
| KeepAlive |
Keeps the HTTP Request Response connection alive.
If enabled (true), once a request is made and a connection is established, this connection is kept open and used for future requests.
If disabled, the connection is closed, and a new connection is created for future requests.
(Inherited from HttpIncomingRequestResponse) | |
| Path | Gets the Path for the HTTP Server Request. | |
| QueryString | Gets the Query string for this HTTP Server Request instance. | |
| Server |
Always returns true for Server Property.
(Overrides HttpRequestResponseServer) | |
| ThisClient |
Gets the Client that is host to this Async request
(Inherited from HttpRequestResponse) |
| Name | Description | |
|---|---|---|
| CloneEvents |
Clones the events of the HTTP Request Response.
(Inherited from HttpRequestResponse) | |
| 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) | |
| FlushContent |
Flush the content of the HTTP Incoming Stream.
(Inherited from HttpIncomingRequestResponse) | |
| 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) | |
| TriggerOnTransferEnd |
Trigger the OnTransferEnd Event Handler
(Inherited from HttpRequestResponse) | |
| TriggerOnTransferProgress |
Trigger the OnTransferProgress Event Handler
(Inherited from HttpRequestResponse) | |
| TriggerOnTransferStart |
Trigger the OnTransferStart Event Handler
(Inherited from HttpRequestResponse) | |
| Validate |
Validate the HTTP Server Request by ensuring that the 'Host' header has a value.
(Overrides HttpIncomingRequestResponseValidate) |
| Name | Description | |
|---|---|---|
| OnTransferEnd |
OnTransferEnd Event Handler
(Inherited from HttpRequestResponse) | |
| OnTransferProgress |
OnTransferProgress Event Handler
(Inherited from HttpRequestResponse) | |
| OnTransferStart |
OnTransferStart Event handler
(Inherited from HttpRequestResponse) |