MCPcopy Create free account
hub / github.com/modelcontextprotocol/go-sdk / Close

Method Close

mcp/shared.go:584–584  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

582type keepaliveSession interface {
583 Ping(ctx context.Context, params *PingParams) error
584 Close() error
585}
586
587// startKeepalive starts the keepalive mechanism for a session.

Callers 1

startKeepaliveFunction · 0.65

Implementers 2

ServerSessionmcp/server.go
ClientSessionmcp/client.go

Calls

no outgoing calls

Tested by

no test coverage detected