Session.requestHttp

Creates a #SoupRequest for retrieving @uri_string, which must be an "http" or "https" URI (or another protocol listed in @session's #SoupSession:http-aliases or #SoupSession:https-aliases).

class Session
requestHttp
(
string method
,
string uriString
)

Parameters

method string

an HTTP method

uriString string

a URI, in string form

Return Value

a new #SoupRequestHTTP, or %NULL on error.

Throws

GException on failure.

Meta

Since

2.42