MCPcopy Create free account
hub / github.com/vercel/vercel / recv

Method recv

python/vercel-runtime/tests/test_wsgi_websocket.py:32–33  ·  view source on GitHub ↗
(self, _size: int)

Source from the content-addressed store, hash-verified

30 self.sent.append(bytes(data))
31
32 def recv(self, _size: int) -> bytes:
33 return b"frame"
34
35 def fileno(self) -> int:
36 return 42

Callers 10

pingMethod · 0.80
pongMethod · 0.80
asgi_receiveMethod · 0.80
read_untilMethod · 0.80
read_exactMethod · 0.80
_raw_chunked_postFunction · 0.80
_recv_exactFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected