ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Describes the Ewk URL scheme request API. More...
#include <Eina.h>
Go to the source code of this file.
Typedefs | |
typedef struct EwkObject | Ewk_Url_Scheme_Request |
Functions | |
EAPI const char * | ewk_url_scheme_request_scheme_get (const Ewk_Url_Scheme_Request *request) |
EAPI const char * | ewk_url_scheme_request_url_get (const Ewk_Url_Scheme_Request *request) |
EAPI const char * | ewk_url_scheme_request_path_get (const Ewk_Url_Scheme_Request *request) |
EAPI Eina_Bool | ewk_url_scheme_request_finish (Ewk_Url_Scheme_Request *request, const void *content_data, uint64_t content_length, const char *mime_type) |
Describes the Ewk URL scheme request API.
typedef struct EwkObject Ewk_Url_Scheme_Request |
Declare Ewk_Url_Scheme_Request as Ewk_Object.
EAPI Eina_Bool ewk_url_scheme_request_finish | ( | Ewk_Url_Scheme_Request * | request, |
const void * | content_data, | ||
uint64_t | content_length, | ||
const char * | mime_type | ||
) |
Finish a Ewk_Url_Scheme_Request by setting the content of the request and its mime type.
request | a Ewk_Url_Scheme_Request. |
content_data | the data content of the request (may be c NULL if the content is empty). |
content_length | the length of the content_data. |
mime_type | the content type of the stream or c NULL if not known |
EAPI const char* ewk_url_scheme_request_path_get | ( | const Ewk_Url_Scheme_Request * | request) |
Query the path part of the URL for this request.
request | request 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 const char* ewk_url_scheme_request_scheme_get | ( | const Ewk_Url_Scheme_Request * | request) |
Query the URL scheme for this request.
request | request 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 const char* ewk_url_scheme_request_url_get | ( | const Ewk_Url_Scheme_Request * | request) |
Query the URL for this request.
request | request 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().