WebKitURISchemeRequest

WebKitURISchemeRequest

Synopsis

struct              WebKitURISchemeRequest;
const gchar *       webkit_uri_scheme_request_get_scheme
                                                        (WebKitURISchemeRequest *request);
const gchar *       webkit_uri_scheme_request_get_uri   (WebKitURISchemeRequest *request);
const gchar *       webkit_uri_scheme_request_get_path  (WebKitURISchemeRequest *request);
WebKitWebView *     webkit_uri_scheme_request_get_web_view
                                                        (WebKitURISchemeRequest *request);
void                webkit_uri_scheme_request_finish    (WebKitURISchemeRequest *request,
                                                         GInputStream *stream,
                                                         gint64 stream_length,
                                                         const gchar *mime_type);

Object Hierarchy

  GObject
   +----WebKitURISchemeRequest

Description

Details

struct WebKitURISchemeRequest

struct WebKitURISchemeRequest;


webkit_uri_scheme_request_get_scheme ()

const gchar *       webkit_uri_scheme_request_get_scheme
                                                        (WebKitURISchemeRequest *request);

Get the URI scheme of request

request :

a WebKitURISchemeRequest

Returns :

the URI scheme of request

webkit_uri_scheme_request_get_uri ()

const gchar *       webkit_uri_scheme_request_get_uri   (WebKitURISchemeRequest *request);

Get the URI of request

request :

a WebKitURISchemeRequest

Returns :

the full URI of request

webkit_uri_scheme_request_get_path ()

const gchar *       webkit_uri_scheme_request_get_path  (WebKitURISchemeRequest *request);

Get the URI path of request

request :

a WebKitURISchemeRequest

Returns :

the URI path of request

webkit_uri_scheme_request_get_web_view ()

WebKitWebView *     webkit_uri_scheme_request_get_web_view
                                                        (WebKitURISchemeRequest *request);

Get the WebKitWebView that initiated the request.

request :

a WebKitURISchemeRequest

Returns :

the WebKitWebView that initiated request. [transfer none]

webkit_uri_scheme_request_finish ()

void                webkit_uri_scheme_request_finish    (WebKitURISchemeRequest *request,
                                                         GInputStream *stream,
                                                         gint64 stream_length,
                                                         const gchar *mime_type);

Finish a WebKitURISchemeRequest by setting the contents of the request and its mime type.

request :

a WebKitURISchemeRequest

stream :

a GInputStream to read the contents of the request

stream_length :

the length of the stream or -1 if not known

mime_type :

the content type of the stream or NULL if not known. [allow-none]