MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / send_init

Method send_init

test/mitmproxy/proxy/layers/http/test_http3.py:338–342  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

336 )
337
338 def send_init(self) -> Iterable[quic.SendQuicStreamData]:
339 yield self.send_stream_type(StreamType.CONTROL)
340 yield self.send_settings()
341 yield self.send_stream_type(StreamType.QPACK_ENCODER)
342 yield self.send_stream_type(StreamType.QPACK_DECODER)
343
344 def receive_init(self) -> Iterable[quic.QuicStreamDataReceived]:
345 yield self.receive_stream_type(StreamType.CONTROL)

Callers 12

start_h3_proxyFunction · 0.95
test_fail_without_headerFunction · 0.95
test_simpleFunction · 0.95
test_response_trailersFunction · 0.95
test_request_trailersFunction · 0.95
test_stream_concurrencyFunction · 0.95
test_kill_streamFunction · 0.95
test_early_server_dataFunction · 0.95

Calls 2

send_stream_typeMethod · 0.95
send_settingsMethod · 0.95

Tested by

no test coverage detected