1.33 <WebKitURIRequest>

Class: <WebKitURIRequest>

It derives from <GObject>.

Represents a URI request.

A <WebKitURIRequest> can be created with a URI using the urirequest:new method, and you can get the URI of an existing request with the urirequest:get-uri one.

Properties

Property: urirequest:uri self

The URI to which the request will be made.

Its value is a string, or #f.

Set it with (set! (urirequest:uri self) value).

Procedures

Method: urirequest:get-http-headers self ⇒ %return
Method: get-http-headers self ⇒ %return

Get the HTTP headers of a <WebKitURIRequest> as a <SoupMessageHeaders>.

self

Passed: a <WebKitURIRequest>.

a <WebKitURIRequest>

%return

Returned: a <SoupMessageHeaders>.

a <SoupMessageHeaders> with the HTTP headers of self or #f if self is not an HTTP request.

Method: urirequest:get-http-method self ⇒ %return
Method: get-http-method self ⇒ %return

Get the HTTP method of the <WebKitURIRequest>.

self

Passed: a <WebKitURIRequest>.

a <WebKitURIRequest>

%return

Returned: a string.

the HTTP method of the <WebKitURIRequest> or #f if self is not an HTTP request.

Method: urirequest:get-uri self ⇒ %return
Method: get-uri self ⇒ %return

Obtains the request URI.

self

Passed: a <WebKitURIRequest>.

a <WebKitURIRequest>

%return

Returned: a string.

request URI, as a string.

Procedure: urirequest:new uri ⇒ %return

Creates a new <WebKitURIRequest> for the given URI.

uri

Passed: a string.

an URI

%return

Returned: a <WebKitURIRequest>.

a new <WebKitURIRequest>

Method: urirequest:set-uri self uri
Method: set-uri self uri

Set the URI of self

self

Passed: a <WebKitURIRequest>.

a <WebKitURIRequest>

uri

Passed: a string.

an URI