webkit.urirequest

Module for [URIRequest] class

Types 3

Represents a URI request.

A #WebKitURIRequest can be created with a URI using the [webkitwebprocessextension.urirequest.URIRequest.new_] method, and you can get the URI of an existing request with the [webkitwebprocessextension.urirequest.URIRequest.getUri] one.

Methods
GType _gType() @property
URIRequest self()Returns `this`, for use in `with` statements.
URIRequestGidBuilder builder()Get builder for [webkit.urirequest.URIRequest] Returns: New builder object
string uri() @propertyGet `uri` property. Returns: The URI to which the request will be made.
void uri(string propval) @propertySet `uri` property. Params: propval = The URI to which the request will be made.
soup.message_headers.MessageHeaders getHttpHeaders()Get the HTTP headers of a #WebKitURIRequest as a #SoupMessageHeaders. Returns: a #SoupMessageHeaders with the HTTP headers of request or null if request is not an HTTP request.
string getHttpMethod()Get the HTTP method of the #WebKitURIRequest. Returns: the HTTP method of the #WebKitURIRequest or null if request is not an HTTP request.
string getUri()Obtains the request URI. Returns: request URI, as a string.
void setUri(string uri)Set the URI of request
Constructors
this(void * ptr, Flag!"Take" take)
this(string uri)Creates a new #WebKitURIRequest for the given URI.
Methods
T uri(string propval)Set `uri` property. Params: propval = The URI to which the request will be made. Returns: Builder instance for fluent chaining

Fluent builder for [webkit.urirequest.URIRequest]

Methods