nn::http::Connection::SetPostDataEncoding Member Functionnn::Result SetPostDataEncoding( EncodingType type );
| Name | Description | |
|---|---|---|
| in | type | Encoding type to set. |
Result listed below. | Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
| ResultPostAddedAnotherErr | POST data has already been configured. The function returns this value when POST data of the Raw type has already been configured, or if set to the SetLazyPostDataSetting mode. Use this function carefully to not conflict with such POST data configuration. (To reconfigure POST data, first call the Connection class's Finalize function, and then call Initialize again.) |
| ResultConnectionStatusErr | Error indicating an invalid state. This function cannot be called in the current communication state. (For example, the function returns this error if the system is already connected. You must call this function before calling Connect.) |
| ResultPostUnknownEnctypeErr | Error indicating that an invalid encoding type was specified. The function returns this value when the encoding type is specified as a value other than those specified by the EncodingType enumerated type. (To reconfigure POST data, first call the Connection class's Finalize function, and then call Initialize again.) |
| A value other than the above. | Unexpected error (See http_Result.h for details). |
Sets the encoding type for an HTTP request's POST data.
CONFIDENTIAL