webkitwebprocessextension.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
URIRequest self()Returns `this`, for use in `with` statements.URIRequestGidBuilder builder()Get builder for [webkitwebprocessextension.urirequest.URIRequest] Returns: New builder objectvoid 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 requestMethods
T uri(string propval)Set `uri` property. Params: propval = The URI to which the request will be made. Returns: Builder instance for fluent chainingFluent builder for [webkitwebprocessextension.urirequest.URIRequest]
Methods