Http Requests
The Requests class represents an HTTP request received by the client.
name
type
read-only
description
method
int
The HTTP method of the request (e.g., GET, POST).
raw_url
string
The full URL of the request.
url
string
The processed URL without query parameters.
body
string
The body content of the request.
remote_ip_address
string
The IP address of the client making the request.
http_ver_major
int
The major version of HTTP (e.g., 1
for HTTP/1.1).
http_ver_minor
int
The minor version of HTTP (e.g., 1
for HTTP/1.1).
keep_alive
bool
Indicates whether the connection should be kept alive.
close_connection
bool
Indicates whether the connection should be closed after the response.
upgrade
bool
Indicates whether the connection should be upgraded (e.g., to WebSocket).
Last updated