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

Method transmit

mitmproxy/proxy/layers/http/_http_h3.py:310–314  ·  view source on GitHub ↗

Yields all pending commands for the upper QUIC layer.

(self)

Source from the content-addressed store, hash-verified

308 self._after_send(stream_id, end_stream=True)
309
310 def transmit(self) -> layer.CommandGenerator[None]:
311 """Yields all pending commands for the upper QUIC layer."""
312
313 while self._mock.pending_commands:
314 yield self._mock.pending_commands.pop(0)
315
316
317__all__ = [

Callers 7

http_headers_receivedMethod · 0.80
http_data_receivedMethod · 0.80
quic_event_receivedMethod · 0.80
send_datagramMethod · 0.80
requestMethod · 0.80
_test_echoFunction · 0.80
_handle_eventMethod · 0.80

Calls 1

popMethod · 0.45

Tested by 6

http_headers_receivedMethod · 0.64
http_data_receivedMethod · 0.64
quic_event_receivedMethod · 0.64
send_datagramMethod · 0.64
requestMethod · 0.64
_test_echoFunction · 0.64