MCPcopy Index your code
hub / github.com/RustPython/RustPython / recv

Method recv

Lib/ssl.py:1278–1287  ·  view source on GitHub ↗
(self, buflen=1024, flags=0)

Source from the content-addressed store, hash-verified

1276 return super().sendfile(file, offset, count)
1277
1278 def recv(self, buflen=1024, flags=0):
1279 self._checkClosed()
1280 if self._sslobj is not None:
1281 if flags != 0:
1282 raise ValueError(
1283 "non-zero flags not allowed in calls to recv() on %s" %
1284 self.__class__)
1285 return self.read(buflen)
1286 else:
1287 return super().recv(buflen, flags)
1288
1289 def recv_into(self, buffer, nbytes=None, flags=0):
1290 self._checkClosed()

Callers 5

_createMethod · 0.95
readMethod · 0.45
readlineMethod · 0.45
retrbinaryMethod · 0.45
stdlib_socket.pyFile · 0.45

Calls 3

_checkClosedMethod · 0.95
readMethod · 0.95
superClass · 0.85

Tested by

no test coverage detected