|
Tizen Native API
5.0
|
It manages HTTP response.
#include <http.h>
It manages HTTP response message.
Functions | |
| int | http_transaction_response_get_status_code (http_transaction_h http_transaction, http_status_code_e *status_code) |
| Gets the HTTP status code from HTTP Response. | |
| int | http_transaction_response_get_status_text (http_transaction_h http_transaction, char **status_text) |
| Gets the HTTP status text from HTTP Response. | |
| int | http_transaction_response_get_version (http_transaction_h http_transaction, http_version_e *version) |
| Gets the HTTP version from HTTP Response. | |
| int http_transaction_response_get_status_code | ( | http_transaction_h | http_transaction, |
| http_status_code_e * | status_code | ||
| ) |
Gets the HTTP status code from HTTP Response.
| [in] | http_transaction | The HTTP transaction handle |
| [out] | status_code | The HTTP status code |
0 on success, otherwise negative error value | HTTP_ERROR_NONE | Successful |
| HTTP_ERROR_INVALID_PARAMETER | Invalid parameter |
| HTTP_ERROR_INVALID_OPERATION | Invalid operation |
| HTTP_ERROR_NOT_SUPPORTED | Not Supported |
| int http_transaction_response_get_status_text | ( | http_transaction_h | http_transaction, |
| char ** | status_text | ||
| ) |
Gets the HTTP status text from HTTP Response.
| [in] | http_transaction | The HTTP transaction handle |
| [out] | status_text | The HTTP status text |
0 on success, otherwise negative error value | HTTP_ERROR_NONE | Successful |
| HTTP_ERROR_INVALID_PARAMETER | Invalid parameter |
| HTTP_ERROR_INVALID_OPERATION | Invalid operation |
| HTTP_ERROR_NOT_SUPPORTED | Not Supported |
| int http_transaction_response_get_version | ( | http_transaction_h | http_transaction, |
| http_version_e * | version | ||
| ) |
Gets the HTTP version from HTTP Response.
| [in] | http_transaction | The HTTP transaction handle |
| [out] | version | The HTTP version |
0 on success, otherwise negative error value | HTTP_ERROR_NONE | Successful |
| HTTP_ERROR_INVALID_PARAMETER | Invalid parameter |
| HTTP_ERROR_INVALID_OPERATION | Invalid operation |
| HTTP_ERROR_NOT_SUPPORTED | Not Supported |