MCPcopy Index your code
hub / github.com/python-websockets/websockets / recv

Method recv

src/websockets/sync/client.py:612–616  ·  view source on GitHub ↗
(self, buflen: int)

Source from the content-addressed store, hash-verified

610 return result
611
612 def recv(self, buflen: int) -> bytes:
613 try:
614 return self.run_io(self.ssl_object.read, buflen)
615 except ssl_module.SSLEOFError:
616 return b"" # always ignore ragged EOFs
617
618 def send(self, data: BytesLike) -> int:
619 return self.run_io(self.ssl_object.write, data)

Callers 15

handlerFunction · 0.45
handlerFunction · 0.45
helloFunction · 0.45
helloFunction · 0.45
helloFunction · 0.45
handlerFunction · 0.45
handlerFunction · 0.45
helloFunction · 0.45
helloFunction · 0.45
helloFunction · 0.45
helloFunction · 0.45
helloFunction · 0.45

Calls 1

run_ioMethod · 0.95

Tested by

no test coverage detected