HTTPResponse Class |
This class encapsulates an HTTP response message.
Namespace: OIV.RemoteViz.Rendering
The HTTPResponse type exposes the following members.
Name | Description | |
---|---|---|
HTTPResponse | Creates a HTTP/1.1 response with "200 OK" status. | |
HTTPResponse(HTTPResponseHTTPStatus) | Creates a HTTP/1.1 response with the given status and a standard reason phrase. | |
HTTPResponse(HTTPResponseHTTPStatus, String) | Creates a HTTP/1.1 response with the given status and reason phrase. | |
HTTPResponse(HTTPResponseHTTPStatus, String, String) | Creates a HTTP/1.1 response with the given status, reason phrase and message body data. | |
HTTPResponse(HTTPResponseHTTPStatus, String, String, Int32, Int32, HTTPHeaders) | Creates a HTTP response with the given status, reason phrase, message body data, version and headers. |
Name | Description | |
---|---|---|
CopyFrom | Copy assignment operator. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetReasonPhrase | Returns the standard HTTP reason phrase for a HTTP status code. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Body | Returns the HTTP message body data (optional). | |
ContentLength | Returns the size of the body, in bytes (Content-Length entity header) | |
Headers | Returns HTTP headers. | |
Reason | Returns the HTTP reason phrase. | |
StatusCode | Returns the HTTP status. | |
Version | Returns the HTTP version for incoming request (example "HTTP/1.1"). | |
VersionMajor | HTTP uses a "major.minor" numbering scheme to indicate versions of the protocol. | |
VersionMinor | HTTP uses a "major.minor" numbering scheme to indicate versions of the protocol. |
Used in the OIV.RemoteViz.Rendering.ServiceListener onHTTPRequest() method.