nn::boss::Task::GetHttpStatusCode Member Function

Syntax

u32 GetHttpStatusCode(
u32 * pCount = NULL,
u8 * pStepID = NULL
);

Arguments

Name Description
out pCount Returns the remaining count. (Optional)
out pStepID Returns the task step ID. (Optional)

Return Values

Returns the communication error code.


Value Description
U32_CANNOT_GET_DATA Unable to get data.

Description

Gets the communication error code. The following is an example of common response codes in HTTP communication.
200: A normal HTTP communication result.
206: A normal HTTP communication result, but still continuing to receive data.
401: The basic authentication result was not correct. Do not use because basic authentication is not supported.
404: The URL content could not be found. Check whether the URL was correct, or whether the content has been deleted.
403: A URL has been specified for which access is not granted. Check that the URL is correct.
500: An error occurred as a result of a server problem. Contact the server administrator.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL