nn::http::Connection::GetStatusCode Member Function

Syntax

nn::Result GetStatusCode(
     s32 * pStatusCodeCourier
) const;

Arguments

Name Description
out pStatusCodeCourier Buffer that stores status codes.

Return Values

Returns the result of the operation. (The result definitions are the same as for GetHeaderField.)

Description

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 GetStatusCode, this function does not have an attached timeout. In other words, the process will not return from this function until processing has ended.
For this reason, in environments where communications are slow you can expect a long time to pass before the process ends and returns from this function.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL