ewebkit2  1.11.0
Web engine based on WebKit2 for EFL
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
ewk_url_scheme_request.h File Reference

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)
 

Detailed Description

Describes the Ewk URL scheme request API.

Typedef Documentation

typedef struct EwkObject Ewk_Url_Scheme_Request

Declare Ewk_Url_Scheme_Request as Ewk_Object.

See Also
Ewk_Object

Function Documentation

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.

Parameters
requesta Ewk_Url_Scheme_Request.
content_datathe data content of the request (may be c NULL if the content is empty).
content_lengththe length of the content_data.
mime_typethe 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.

Parameters
requestrequest object to query.
Returns
the path pointer, that may be 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.

Parameters
requestrequest object to query.
Returns
the URL scheme pointer, that may be 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.

Parameters
requestrequest object to query.
Returns
the URL pointer, that may be 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().