nn::http::Connection::SendPostDataAscii Member Functionnn::Result SendPostDataAscii( const char * pLabel, const char * pValue ); nn::Result SendPostDataAscii( const char * pLabel, const char * pValue, const nn::fnd::TimeSpan & timeout );
SendPostDataAscii(const char *, const char *)
|
Function used to set POST data (as ASCII strings) in "lazy" (delayed) POST data configuration mode. |
SendPostDataAscii(const char *, const char *, const nn::fnd::TimeSpan &)
|
This version of SendPostDataAscii has a timeout. |
SendPostDataAscii(const char *, const char *)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 SendPostDataAscii, this function does not have an attached timeout. In other words, the process will not return from this function until processing has ended.
For this reason, in environments where communications are slow you can expect a long time to pass before the process ends and returns from this function.
SendPostDataAscii(const char *, const char *, const nn::fnd::TimeSpan &)Other than allowing the caller to specify a timeout, this version functions identically to SendPostDataAscii. 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