MCPcopy
hub / github.com/urllib3/urllib3 / recv

Method recv

src/urllib3/util/ssltransport.py:84–87  ·  src/urllib3/util/ssltransport.py::SSLTransport.recv
(self, buflen: int = 1024, flags: int = 0)

Source from the content-addressed store, hash-verified

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:
86 raise ValueError(class="st">"non-zero flags not allowed in calls to recv")
87 return self._wrap_ssl_read(buflen)
88
89 def recv_into(
90 self,

Callers 15

_read_write_loopMethod · 0.45
test_wait_for_socketFunction · 0.45
_read_exactlyFunction · 0.45
_read_untilFunction · 0.45
_address_from_socketFunction · 0.45
request_handlerMethod · 0.45
request_handlerMethod · 0.45
request_handlerMethod · 0.45

Calls 1

_wrap_ssl_readMethod · 0.95

Tested by 15

_read_write_loopMethod · 0.36
test_wait_for_socketFunction · 0.36
_read_exactlyFunction · 0.36
_read_untilFunction · 0.36
_address_from_socketFunction · 0.36
request_handlerMethod · 0.36
request_handlerMethod · 0.36
request_handlerMethod · 0.36