This is the HTTP::Request class.
$req = Request($client: Client, $url: Str, $httpMethod: Method)
HTTP request objects generally are not created directly. Instead, use the
methods provided by the
client: Client - An HTTP::Client, representing the user agent.
url: Str - HTTP URL to request.
httpMethod: Method - Request HTTP method.
Initializes the asynchronous HTTP connection.
Afterward, either the
event will be called.
Hook. Called when the connection opens. May be called multiple times if the request is redirected or retried.
Hook. Called when the request was redirected by an HTTP location header.
Hook. Called when a connection error occurs.
Hook. Called when an HTTP response is constructed.
End of the HTTP::Request class.
This file was generated automatically by the Ferret compiler from Request.frt.