nn::http::Connection::GetStatusCode Member Functionnn::Result GetStatusCode( s32 * pStatusCodeCourier, const nn::fnd::TimeSpan & timeout ) const;
| Name | Description | |
|---|---|---|
| out | pStatusCodeCourier | Buffer that stores status codes. |
| in | timeout | Timeout interval. |
Result value is the same as for the GetHeaderField function version that has a timeout argument. This version of GetStatusCode has a timeout.
Other than enabling the user to specify a timeout, this version functions identically to GetStatusCode. For feature details, see the function reference for the version without a timeout. Returns ResultTimeout if no HTTP response header has been fully received within the timeout period. If ResultTimeout is returned, the connection is automatically canceled. (In other words, the function internally implements Cancel.)
CONFIDENTIAL