nn::http::Connection::SendPostDataBinary Member Functionnn::Result SendPostDataBinary( const char * pLabel, const void * pValue, size_t valueSize, const nn::fnd::TimeSpan & timeout );
| Name | Description | |
|---|---|---|
| in | pLabel | Label name of the data. |
| in | pValue | Data content. |
| in | valueSize | Data size of pValue. |
| in | timeout | Timeout interval. |
Result listed below. | Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
| ResultTimeout | Error indicating a timeout. |
| A value other than the above. | Same as for the SendPostDataBinary function version that has no timeout argument. |
This version of SendPostDataBinary has a timeout.
Other than allowing the caller to specify a timeout, this version functions identically to SendPostDataBinary. 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