HTTPResponse Constructor (HTTPResponseHTTPStatus, String, String, Int32, Int32, HTTPHeaders) |
Creates a HTTP response with the given status, reason phrase, message body data, version and headers.
Namespace: OIV.RemoteViz.RenderingAssembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public HTTPResponse(
HTTPResponseHTTPStatus statusCode,
string reason,
string body,
int versionMajor,
int versionMinor,
HTTPHeaders headers
)
Public Sub New (
statusCode As HTTPResponseHTTPStatus,
reason As String,
body As String,
versionMajor As Integer,
versionMinor As Integer,
headers As HTTPHeaders
)
public:
HTTPResponse(
HTTPResponseHTTPStatus statusCode,
String^ reason,
String^ body,
int versionMajor,
int versionMinor,
HTTPHeaders^ headers
)
new :
statusCode : HTTPResponseHTTPStatus *
reason : string *
body : string *
versionMajor : int *
versionMinor : int *
headers : HTTPHeaders -> HTTPResponse
Parameters
- statusCode
- Type: OIV.RemoteViz.RenderingHTTPResponseHTTPStatus
- reason
- Type: SystemString
- body
- Type: SystemString
- versionMajor
- Type: SystemInt32
- versionMinor
- Type: SystemInt32
- headers
- Type: OIV.RemoteViz.RenderingHTTPHeaders
Remarks See Also