Top | ![]() |
![]() |
![]() |
![]() |
This class represents the network related aspects of a navigation request. It is used whenever WebKit wants to provide information about a request that will be sent, or has been sent. Inside it you can find the URI of the request, and, for valid URIs, a SoupMessage object, which provides access to further information such as headers.
WebKitNetworkRequest *
webkit_network_request_new (const gchar *uri
);
Creates a new WebKitNetworkRequest initialized with an URI.
const gchar *
webkit_network_request_get_uri (WebKitNetworkRequest *request
);
Since: 1.0.0
SoupMessage *
webkit_network_request_get_message (WebKitNetworkRequest *request
);
Obtains the SoupMessage held and used by the given request. Notice that modification of the SoupMessage of a request by signal handlers is only supported (as in, will only affect what is actually sent to the server) where explicitly documented.
Since: 1.1.9
void webkit_network_request_set_uri (WebKitNetworkRequest *request
,const gchar *uri
);
Sets the URI held and used by the given request. When the request has an associated SoupMessage, its URI will also be set by this call.
“message”
property“message” SoupMessage *
The SoupMessage that backs the request.
Flags: Read / Write / Construct Only
Since: 1.1.10
“uri”
property“uri” gchar *
The URI to which the request will be made.
Flags: Read / Write
Default value: NULL
Since: 1.1.10