nn::http::Connection::GetProgress Member Function

Syntax

nn::Result GetProgress(
     size_t * pReceivedLen,
     size_t * pContentLen
) const;

Arguments

Name Description
out pReceivedLen Buffer that stores the amount of message body data that has been received.
out pContentLen Buffer that stores the total amount of data in the message body to be received (in other words, the Content-Length value of the HTTP response. Returns 0 if Content-Length is not specified.)

Return Values

Returns the processing result.

Description

Gets the progress of an operation to receive an HTTP response's message body data.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL