MCPcopy
hub / github.com/urllib3/urllib3 / read

Method read

src/urllib3/util/ssltransport.py:81–82  ·  view source on GitHub ↗
(self, len: int = 1024, buffer: typing.Any | None = None)

Source from the content-addressed store, hash-verified

79 return self.socket.fileno()
80
81 def read(self, len: int = 1024, buffer: typing.Any | None = None) -> int | bytes:
82 return self._wrap_ssl_read(len, buffer)
83
84 def recv(self, buflen: int = 1024, flags: int = 0) -> int | bytes:
85 if flags != 0:

Callers 4

recv_intoMethod · 0.95
sendMethod · 0.45
_ssl_io_loopMethod · 0.45
chunk_readableFunction · 0.45

Calls 1

_wrap_ssl_readMethod · 0.95

Tested by

no test coverage detected