nn::http::Connection::SendPostDataRaw Member Functionnn::Result SendPostDataRaw( const void * pValue, size_t valueSize ); nn::Result SendPostDataRaw( const void * pValue, size_t valueSize, const nn::fnd::TimeSpan & timeout );
SendPostDataRaw(const void *, size_t)
|
Function used to set POST data (as raw data) in "lazy" (delayed) POST data configuration mode. |
SendPostDataRaw(const void *, size_t, const nn::fnd::TimeSpan &)
|
This version of SendPostRawData has a timeout. |
SendPostDataRaw(const void *, size_t)In "lazy" POST data configuration mode, which can be entered by calling SetLazyPostDataSetting, this function can be used after either Connect or ConnectAsync is called. For more information about "lazy" POST data configuration mode, see the description of the SetLazyPostDataSetting function.
Note: Unlike the version of SendPostDataRaw that includes a timeout, this function does not time out. In other words, control will not return from this function until processing has ended. In environments where communications are slow you can expect a long time to pass before processing ends and control returns from this function.
SendPostDataRaw(const void *, size_t, const nn::fnd::TimeSpan &)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.)
CONFIDENTIAL