HTTPResponseParameters Type
This object is a container for HTTP server response details.
Remarks
An HTTP response is sent by the server when it has processed the client's request.
The response consists of the status code (perhaps, the most
annoying and widely known one is 404), the reason phrase, the response headers, and the body (the actual data) of the response.
Fields
| |
ContentLength Int64 |
Indicates the length of the response content in bytes.
|
Date String |
The date and time at which the response was generated, in server time, in UTC.
|
ReasonPhrase String |
Contains the reason phrase (a human-readable comment) of the request processing status, which corresponds to, and complements, the staus code.
|
StatusCode Integer |
The server-generated status code of the request processing status.
The code is a 3-digit integer where the first digit defines the class of the response:
| | 1 | Informational | 2 | Success | 3 | Redirection | 4 | Client Error | 5 | Server Error |
Common examples are 200 (page served succesfully), 404 (page not found), 302 (redirect), and 500 (internal server error).
|
Constructors
constructor Create();
Creates a new HTTPResponseParameters object.