Share via


Request Class

The request that generated the event.

Constructor

Request(*args: Any, **kwargs: Any)

Variables

Name Description
id
str

The ID of the request that initiated the event.

addr
str

The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.

host
str

The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.

method
str

The request method that generated the event.

useragent
str

The user agent header of the request.

Attributes

addr

The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.

addr: str | None

host

The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.

host: str | None

id

The ID of the request that initiated the event.

id: str | None

method

The request method that generated the event.

method: str | None

useragent

The user agent header of the request.

useragent: str | None