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

Class TlsStartServerHook

mitmproxy/proxy/layers/tls.py:195–203  ·  view source on GitHub ↗

TLS negotation between mitmproxy and a server 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

193
194@dataclass
195class TlsStartServerHook(StartHook):
196 """
197 TLS negotation between mitmproxy and a server is about to start.
198
199 An addon is expected to initialize data.ssl_conn.
200 (by default, this is done by `mitmproxy.addons.tlsconfig`)
201 """
202
203 data: TlsData
204
205
206@dataclass

Callers 3

test_upstream_httpsFunction · 0.90
start_tlsMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_upstream_httpsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…