Skip to content

Commit 8f423c5

Browse files
committed
add documentation
1 parent cc4ac19 commit 8f423c5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/mcp/shared/session.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ async def send_request(
217217
) -> ReceiveResultT:
218218
"""
219219
Sends a request and wait for a response. Raises an McpError if the
220-
response contains an error.
220+
response contains an error. If a request read timeout is provided, it
221+
will take precedence over the session read timeout.
221222
222223
Do not use this method to emit notifications! Use send_notification()
223224
instead.

0 commit comments

Comments
 (0)