Session.requestHttpUri

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

class Session
requestHttpUri
(
string method
,)

Parameters

method string

an HTTP method

uri URI

a #SoupURI representing the URI to retrieve

Return Value

a new #SoupRequestHTTP, or %NULL on error.

Throws

GException on failure.

Meta

Since

2.42