|
EWebKit
1.0
|
Describes the Ewk URL response API. More...
#include <Eina.h>Go to the source code of this file.
Typedefs | |
| typedef struct EwkObject | Ewk_Url_Response |
Functions | |
| EAPI const char * | ewk_url_response_url_get (const Ewk_Url_Response *response) |
| EAPI int | ewk_url_response_status_code_get (const Ewk_Url_Response *response) |
| EAPI const char * | ewk_url_response_mime_type_get (const Ewk_Url_Response *response) |
| EAPI unsigned long | ewk_url_response_content_length_get (const Ewk_Url_Response *response) |
Describes the Ewk URL response API.
| typedef struct EwkObject Ewk_Url_Response |
Declare Ewk_Url_Response as Ewk_Object.
| EAPI unsigned long ewk_url_response_content_length_get | ( | const Ewk_Url_Response * | response | ) |
Get the expected content length of the Ewk_Url_Response.
It can be 0 if the server provided an incorrect or missing Content-Length.
| response | a Ewk_Url_Response. |
| EAPI const char* ewk_url_response_mime_type_get | ( | const Ewk_Url_Response * | response | ) |
Query MIME type for this response.
| response | response object to query. |
NULL. This pointer is guaranteed to be eina_stringshare, so whenever possible save yourself some cpu cycles and use eina_stringshare_ref() instead of eina_stringshare_add() or strdup(). | EAPI int ewk_url_response_status_code_get | ( | const Ewk_Url_Response * | response | ) |
Query HTTP status code for this response.
HTTP status code are defined by: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
| response | response object to query. |
| EAPI const char* ewk_url_response_url_get | ( | const Ewk_Url_Response * | response | ) |
Query URL for this response.
| response | response object to query. |
NULL. This pointer is guaranteed to be eina_stringshare, so whenever possible save yourself some cpu cycles and use eina_stringshare_ref() instead of eina_stringshare_add() or strdup().
1.8.11