Http |
The HttpServerResponse type exposes the following members.
| Name | Description | |
|---|---|---|
| Client |
Always False.
(Overrides HttpRequestResponseClient) | |
| CloseStream |
When ContentSource is set to ContentStream (and a ContentStream is assigned),
this property determines if the stream should be closed automatically after sending it to the connection (true) or not (false).
(Inherited from HttpOutgoingRequestResponse) | |
| Code | Gets or sets the HTTP status code of the response. The default value is 200. | |
| ContentBytes |
Assigns a byte array to send back as the HTTP body to this property.
(Inherited from HttpOutgoingRequestResponse) | |
| ContentSource |
Defines which property (ContentBytes, ContentStream or ContentString) will be used to send the body of the response.
Assigning any of these three properties will automatically set the ContentSource property so that the content will always be sent from the appropriate source.
(Inherited from HttpOutgoingRequestResponse) | |
| ContentStream |
Assigns a stream to send back as HTTP body to this property. When assigned (and ContentSource is set to ContentStream),
you can use the CloseStream property to determine if the stream should be closed automatically after sending it to the connection (true) or not (false).
(Inherited from HttpOutgoingRequestResponse) | |
| ContentString |
Assigns a string to send back as HTTP body to this property.
(Inherited from HttpOutgoingRequestResponse) | |
| Encoding |
Determines the Encoding for the HTTP Request Response
(Inherited from HttpRequestResponse) | |
| 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 |
Determines the keep alive status of the HTTP Outgoing Request Response.
(Inherited from HttpOutgoingRequestResponse) | |
| ResponseText | Gets or sets the HTTP status code description (For example, OK when the Code is 200). It is up to the caller to ensure that the Code and the ResponseText values correspond to each other. The default value is OK. | |
| Server |
Always True.
(Overrides HttpRequestResponseServer) | |
| ThisClient |
Gets the Client that is host to this Async request
(Inherited from HttpRequestResponse) |