MCPcopy
hub / github.com/modelcontextprotocol/python-sdk / send

Method send

src/mcp/shared/_stream_protocols.py:41–41  ·  view source on GitHub ↗
(self, item: T_contra, /)

Source from the content-addressed store, hash-verified

39 """Protocol for writing items to a stream."""
40
41 async def send(self, item: T_contra, /) -> None: ...
42 async def aclose(self) -> None: ...
43 async def __aenter__(self) -> Self: ...
44 async def __aexit__(

Callers 15

stdout_readerFunction · 0.45
stdin_writerFunction · 0.45
sse_readerFunction · 0.45
_handle_sse_eventMethod · 0.45
_handle_post_requestMethod · 0.45
_handle_json_responseMethod · 0.45
_writeMethod · 0.45
stdin_readerFunction · 0.45
sse_writerMethod · 0.45
handle_post_messageMethod · 0.45
_run_sse_writerMethod · 0.45
_handle_post_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected