nn::http::Connection::GetStatusCode Member Functionnn::Result GetStatusCode( s32 * pStatusCodeCourier ) const;
| Name | Description | |
|---|---|---|
| out | pStatusCodeCourier | Buffer that stores status codes. |
Result value is the same as for the GetHeaderField function version that has no timeout argument. Gets the status code for the HTTP response that was received.
This function blocks until the header is completely received. See the description of GetHeaderField for more details about this specification.
Note: Unlike the version of GetStatusCode that includes a timeout, this function does not time out. In other words, control will not return from this function until processing has ended. In environments where communications are slow you can expect a long time to pass before processing ends and control returns from this function.
CONFIDENTIAL