nn::http::Connection::Cancel Member Functionnn::Result Cancel( void );
None.
Result values listed below.| Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultNotConnectedErr |
Error indicating that no target URL was assigned to the Connection object. No action is performed because the Connection object has not been initialized by a successful call of Initialize. |
ResultNotInitializedErr |
Error indicating that the library is not initialized. None of this library's functions can be used until you first call nn::http::Initialize. |
| A value other than the above. | Unexpected error. (See http_Result.h for details.) |
Cancels the connection. If communication has already ended (including due to an error) or already canceled, the function does nothing and returns the value of the nn::Result::IsSuccess function.
CONFIDENTIAL