MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / recv

Method recv

tools/python-3.11.9-amd64/Lib/ssl.py:1288–1297  ·  view source on GitHub ↗
(self, buflen=1024, flags=0)

Source from the content-addressed store, hash-verified

1286 return super().sendfile(file, offset, count)
1287
1288 def recv(self, buflen=1024, flags=0):
1289 self._checkClosed()
1290 if self._sslobj is not None:
1291 if flags != 0:
1292 raise ValueError(
1293 "non-zero flags not allowed in calls to recv() on %s" %
1294 self.__class__)
1295 return self.read(buflen)
1296 else:
1297 return super().recv(buflen, flags)
1298
1299 def recv_into(self, buffer, nbytes=None, flags=0):
1300 self._checkClosed()

Callers 7

_createMethod · 0.95
handleMethod · 0.45
handle_readMethod · 0.45
fill_rawqMethod · 0.45
retrbinaryMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 2

_checkClosedMethod · 0.95
readMethod · 0.95

Tested by

no test coverage detected