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_request.h File Reference

Describes the Ewk URL request API. More...

#include <Eina.h>

Go to the source code of this file.

Typedefs

typedef struct EwkObject Ewk_Url_Request
 

Functions

EAPI const char * ewk_url_request_url_get (const Ewk_Url_Request *request)
 
EAPI const char * ewk_request_cookies_first_party_get (const Ewk_Url_Request *request)
 
EAPI const char * ewk_url_request_http_method_get (const Ewk_Url_Request *request)
 

Detailed Description

Describes the Ewk URL request API.

Typedef Documentation

typedef struct EwkObject Ewk_Url_Request

Declare Ewk_Url_Request as Ewk_Object.

See Also
Ewk_Object

Function Documentation

EAPI const char* ewk_request_cookies_first_party_get ( const Ewk_Url_Request request)

Query first party for cookies for this request.

If set, this first party URL is used to distinguish first party cookies from third party ones. This is usually set to the URL of the main document.

Parameters
requestrequest object to query.
Returns
the first party 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_request_http_method_get ( const Ewk_Url_Request request)

Query HTTP method for this request.

HTTP methods are defined by: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

Examples of HTTP methods are "GET", "POST".

Parameters
requestrequest object to query.
Returns
the HTTP method 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_request_url_get ( const Ewk_Url_Request request)

Query 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().