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

Method send_stop

test/mitmproxy/proxy/layers/http/test_http3.py:320–327  ·  view source on GitHub ↗
(
        self, error_code: ErrorCode, stream_id: int = 0
    )

Source from the content-addressed store, hash-verified

318 )
319
320 def send_stop(
321 self, error_code: ErrorCode, stream_id: int = 0
322 ) -> quic.StopSendingQuicStream:
323 return quic.StopSendingQuicStream(
324 connection=self.conn,
325 stream_id=stream_id,
326 error_code=int(error_code),
327 )
328
329 def receive_stop(
330 self, error_code: ErrorCode, stream_id: int = 0

Callers 4

test_fail_without_headerFunction · 0.95
test_kill_streamFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected