MCP::Shared::Protocol
Constants
Log = ::Log.for(self)
Constructors
new(options : ProtocolOptions | Nil = nil)
SourceInstance methods
close
Sourceconnect(transport : Transport)
Sourcefallback_notification_handler
Sourcefallback_notification_handler=(fallback_notification_handler : JSONRPCNotification -> | Nil)
Sourcefallback_request_handler
Sourcefallback_request_handler=(fallback_request_handler : JSONRPCRequest, RequestHandlerExtra -> Result | Nil | Nil)
Sourcenotification(notification : JSONRPCNotification)
Sourceon_close
Sourcerequest(request : JSONRPCRequest, options : RequestOptions | Nil = nil) : Result
ameba:disable Metrics/CyclomaticComplexity
transport
Sourcetransport=(transport : Transport | Nil)
Source