request_http


Description:

[ Version ( since = "2.42" ) ]
public RequestHTTP request_http (string method, string uri_string) throws Error

Creates a Request for retrieving uri_string, 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_string

a URI, in string form

Returns:

a new RequestHTTP, or null on error.