MCPcopy Create free account
hub / github.com/pallets/quart / receive

Method receive

src/quart/testing/connections.py:64–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 )
63
64 async def receive(self) -> bytes:
65 data = await self._receive_queue.get()
66 if isinstance(data, Exception):
67 raise data
68 else:
69 return data
70
71 async def disconnect(self) -> None:
72 await self._send_queue.put({"type": "http.disconnect"})

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected