Http |
The HttpServerResponse type exposes the following members.
| 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) | |
| FinalizeHeader |
This method finalizes the HTTP header.
It sets the correct value of the Content-Length header and sets the HTTP version header to 1.1.
(Overrides HttpOutgoingRequestResponseFinalizeHeader) | |
| 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) | |
| SendError(Int32, String) | Wraps the provided error message into an HTML document and puts the resulting document into ContentBytes. This method always sets the ResponseText to ERROR. | |
| SendError(Int32, String, Exception) | Wraps the provided System.Exception object, including the exception type name, exception message and full stacktrace into an HTML document and puts the resulting document into ContentBytes. | |
| SendError(Int32, String, String) | Wraps the provided error message into an HTML document and puts the resulting document into ContentBytes. | |
| SendErrorWithCustomBody | Allows to set custom error messages. Unlike the SendError methods, this method doesn't wrap the provided text into any HTML tags. The provided response body is used as is. | |
| 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) |