MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / ClientHelloData

Class ClientHelloData

mitmproxy/tls.py:114–131  ·  view source on GitHub ↗

Event data for `tls_clienthello` event hooks.

Source from the content-addressed store, hash-verified

112
113@dataclass
114class ClientHelloData:
115 """
116 Event data for `tls_clienthello` event hooks.
117 """
118
119 context: context.Context
120 """The context object for this connection."""
121 client_hello: ClientHello
122 """The entire parsed TLS ClientHello."""
123 ignore_connection: bool = False
124 """
125 If set to `True`, do not intercept this connection and forward encrypted contents unmodified.
126 """
127 establish_server_tls_first: bool = False
128 """
129 If set to `True`, pause this handshake and establish TLS with an upstream server first.
130 This makes it possible to process the server certificate when generating an interception certificate.
131 """
132
133
134@dataclass

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…