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

Method clear

mitmproxy/proxy/utils.py:66–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 return self._len > 0
65
66 def clear(self):
67 self._chunks.clear()
68 self._len = 0

Callers 14

test_receive_bufferFunction · 0.95
_handshake_finishedMethod · 0.45
disarmMethod · 0.45
_askMethod · 0.45
close_connectionMethod · 0.45
check_body_sizeMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_receive_bufferFunction · 0.76