mcp: fix comments (#241)

Update inaccurate doc comment for ClientSession.
This commit is contained in:
cryo 2025-08-05 22:46:39 +08:00 • committed by GitHub
commit 90a0b1fb23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,8 +153,8 @@ func (c *Client) Connect(ctx context.Context, t Transport) (cs *ClientSession, e
// methods can be used to send requests or notifications to the server. Create
// a session by calling [Client.Connect].
//
// Call [ClientSession.Close] to close the connection, or await client
// termination with [ServerSession.Wait].
// Call [ClientSession.Close] to close the connection, or await server
// termination with [ClientSession.Wait].
type ClientSession struct {
conn *jsonrpc2.Connection
client *Client