WebKit2GTK+ Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct WebKitURIRequest; WebKitURIRequest * webkit_uri_request_new (const gchar *uri
); const gchar * webkit_uri_request_get_uri (WebKitURIRequest *request
); void webkit_uri_request_set_uri (WebKitURIRequest *request
,const gchar *uri
); SoupMessageHeaders * webkit_uri_request_get_http_headers (WebKitURIRequest *request
);
A WebKitURIRequest can be created with a URI using the
webkit_uri_request_new()
method, and you can get the URI of an
existing request with the webkit_uri_request_get_uri()
one.
WebKitURIRequest * webkit_uri_request_new (const gchar *uri
);
Creates a new WebKitURIRequest for the given URI.
|
an URI |
Returns : |
a new WebKitURIRequest |
const gchar * webkit_uri_request_get_uri (WebKitURIRequest *request
);
|
a WebKitURIRequest |
Returns : |
the uri of the WebKitURIRequest |
void webkit_uri_request_set_uri (WebKitURIRequest *request
,const gchar *uri
);
Set the URI of request
|
a WebKitURIRequest |
|
an URI |
SoupMessageHeaders * webkit_uri_request_get_http_headers
(WebKitURIRequest *request
);
Get the HTTP headers of a WebKitURIRequest as a SoupMessageHeaders.
|
a WebKitURIRequest |
Returns : |
a SoupMessageHeaders with the HTTP headers of request
or NULL if request is not an HTTP request. [transfer none]
|
"uri"
property"uri" gchar* : Read / Write / Construct
The URI to which the request will be made.
Default value: "about:blank"