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

Method GetSession

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

Source from the content-addressed store, hash-verified

462type Request interface {
463 isRequest()
464 GetSession() Session
465 GetParams() Params
466 // GetExtra returns the Extra field for ServerRequests, and nil for ClientRequests.
467 GetExtra() *RequestExtra

Callers 12

handleNotifyFunction · 0.65
handleSendFunction · 0.65
serverSessionMethodFunction · 0.65
clientSessionMethodFunction · 0.65
urlElicitationMiddlewareFunction · 0.65
createLoggingMiddlewareFunction · 0.65
createLoggingMiddlewareFunction · 0.65
mainFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected