nn::http::Connection::SendPostDataAscii Member Function

Syntax

nn::Result SendPostDataAscii(
     const char * pLabel,
     const char * pValue
);

nn::Result SendPostDataAscii(
     const char * pLabel,
     const char * pValue,
     const nn::fnd::TimeSpan & timeout
);

List of Overloaded Member Functions

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.

Description of 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.

Description of SendPostDataAscii(const char *, const char *, const nn::fnd::TimeSpan &)

Other than allowing the caller to specify a timeout, this version functions identically to the version of 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