Skip to content

Http

Source code in docs_src/capo_xray/types/http.py
class Http(TypedDict, closed=True):
    http_url: NotRequired["capo_xray.types.string.String"]
    """<p>The request URL.</p>"""
    http_status: NotRequired["capo_xray.types.nullable_integer.NullableInteger"]
    """<p>The response status.</p>"""
    http_method: NotRequired["capo_xray.types.string.String"]
    """<p>The request method.</p>"""
    user_agent: NotRequired["capo_xray.types.string.String"]
    """<p>The request's user agent string.</p>"""
    client_ip: NotRequired["capo_xray.types.string.String"]
    """<p>The IP address of the requestor.</p>"""

client_ip instance-attribute

client_ip: NotRequired[String]

The IP address of the requestor.

http_method instance-attribute

http_method: NotRequired[String]

The request method.

http_status instance-attribute

http_status: NotRequired[NullableInteger]

The response status.

http_url instance-attribute

http_url: NotRequired[String]

The request URL.

user_agent instance-attribute

user_agent: NotRequired[String]

The request's user agent string.