MCPcopy
hub / github.com/mitmproxy/mitmproxy / TlsStartClientHook

Class TlsStartClientHook

mitmproxy/proxy/layers/tls.py:183–191  ·  view source on GitHub ↗

TLS negotation between mitmproxy and a client is about to start. An addon is expected to initialize data.ssl_conn. (by default, this is done by `mitmproxy.addons.tlsconfig`)

Source from the content-addressed store, hash-verified

181
182@dataclass
183class TlsStartClientHook(StartHook):
184 """
185 TLS negotation between mitmproxy and a client is about to start.
186
187 An addon is expected to initialize data.ssl_conn.
188 (by default, this is done by `mitmproxy.addons.tlsconfig`)
189 """
190
191 data: TlsData
192
193
194@dataclass

Callers 2

test_upstream_httpsFunction · 0.90
start_tlsMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_upstream_httpsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…