Skip to main content
Version: Next

HTTPRequest.response() method

Signature:

class HTTPRequest {
response(): HTTPResponse | null;
}

Returns:

HTTPResponse | null

A matching HTTPResponse object, or null if the response has not been received yet.