request_http_uri


Description:

[ Version ( since = "2.42" ) ]
public RequestHTTP request_http_uri (string method, URI uri) throws Error

Creates a Request for retrieving uri, which must be an "http" or "https" URI (or another protocol listed in this's http_aliases or https_aliases).

Parameters:

this

a Session

method

an HTTP method

uri

a URI representing the URI to retrieve

Returns:

a new RequestHTTP, or null on error.




2022 vala-language.org