nn::http::Connection::SendPostDataRaw Member Function

Syntax

nn::Result SendPostDataRaw(
     const void * pValue,
     size_t valueSize,
     const nn::fnd::TimeSpan & timeout
);

Arguments

Name Description
in pValue Data content.
in valueSize Data size of pValue.
in timeout Timeout interval.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
ResultTimeout Error indicating a timeout.
A value other than the above. Refer to the version of the SendPostDataRaw function that has no timeout argument.

Description

This version of SendPostRawData has a timeout.

Other than allowing the caller to specify a timeout, this version functions identically to SendPostRawData. For feature details, see the function reference for the version without a timeout. Returns ResultTimeout if no POST data has been fully sent within the timeout period. If ResultTimeout is returned, the connection is automatically canceled. (In other words, the function internally implements Cancel.)

Revision History

2010/06/14
Initial version.

CONFIDENTIAL