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 _getGType() static nothrow
GType _gType() @property nothrow
URIRequest self() nothrowReturns `this`, for use in `with` statements.
URIRequestGidBuilder builder() static nothrowGet builder for [webkit.urirequest.URIRequest] Returns: New builder object
string uri() @property nothrowGet `uri` property. Returns: The URI to which the request will be made.
void uri(string propval) @property nothrowSet `uri` property. Params: propval = The URI to which the request will be made.
soup.message_headers.MessageHeaders getHttpHeaders() nothrowGet 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() nothrowGet the HTTP method of the #WebKitURIRequest. Returns: the HTTP method of the #WebKitURIRequest or null if request is not an HTTP request.
string getUri() nothrowObtains the request URI. Returns: request URI, as a string.
void setUri(string uri) nothrowSet the URI of request
Constructors
this(void * ptr, Flag!"Take" take)
this(string uri)Creates a new #WebKitURIRequest for the given URI.

Fluent builder implementation template for webkit.urirequest.URIRequest

Methods
T uri(string propval) nothrowSet `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
URIRequest build() nothrowCreate object from builder. Returns: New object