mcp: fix comments (#241)
Update inaccurate doc comment for ClientSession.
This commit is contained in:
parent
cb17593a5d
commit
90a0b1fb23
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue