nn::http::Connection::GetProgress Member Functionnn::Result GetProgress( size_t * pReceivedLen, size_t * pContentLen ) const;
| 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.) |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultInvalidParamErr |
Error indicating an invalid parameter. Specify valid values for all parameters and call this function again. |
ResultNotConnectedErr |
Error indicating that no target URL was assigned to the Connection object. No action is performed because the Connection object has not been initialized by a successful call of Initialize. |
ResultNotInitializedErr |
Error indicating that the library is not initialized. None of this library's functions can be used until you first call nn::http::Initialize. |
| A value other than the above. | Unexpected error (See http_Result.h for details). |
Gets the progress of an operation to receive an HTTP response's message body data.
CONFIDENTIAL