File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ type StreamableHTTPOptions struct {
7474 // [§2.1.5]: https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#sending-messages-to-the-server
7575 JSONResponse bool
7676
77- // OnSessionClose is a callback function that is invoked when a [Connection ]
78- // is closed. A connection is closed when the session is ended explicitly by
79- // the client or when it is interrupted due to a timeout or other errors.
77+ // OnSessionClose is a callback function that is invoked when a [ServerSession ]
78+ // is closed. This happens when a session is ended explicitly by the MCP client
79+ // or when it is interrupted due to a timeout or other errors.
8080 OnSessionClose func (sessionID string )
8181}
8282
You can’t perform that action at this time.
0 commit comments