MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / receive

Function receive

tests/server/test_sse_security.py:222–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220 sent: list[Message] = []
221
222 async def receive() -> Message:
223 return {"type": "http.request", "body": body, "more_body": False}
224
225 async def send(message: Message) -> None:
226 sent.append(message)

Callers 4

wrappedFunction · 0.50
chunked_appFunction · 0.50
waiting_appFunction · 0.50
lingering_appFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected