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

Method bio_write

test/mitmproxy/proxy/layers/test_tls.py:134–135  ·  view source on GitHub ↗
(self, buf: bytes)

Source from the content-addressed store, hash-verified

132 )
133
134 def bio_write(self, buf: bytes) -> int:
135 return self.inc.write(buf)
136
137 def bio_read(self, bufsize: int = 2**16) -> bytes:
138 return self.out.read(bufsize)

Callers 13

test_simpleMethod · 0.95
test_untrusted_certMethod · 0.95
test_server_requiredMethod · 0.95
_test_echoFunction · 0.80
finish_handshakeFunction · 0.80
test_client_onlyMethod · 0.80
test_sslkeylogfileFunction · 0.80
do_handshakeMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected