MCPC::Transport
Inherits Reference < Object
Base MCP protocol transport, with some helpers
Constructors
Instance methods
close
Clean up the transport and close all underlying client connections; renders the transport unusable permanently
notify(body, & : JSON::Any | ErrorDetails -> )
Send a notification. Yields a JSON::Any for valid data: in the response, or ErrorDetails for unknown
response.
post(body, & : JSON::Any | ErrorDetails -> )
Send a request. Yields a JSON::Any for valid data: in the response, or ErrorDetails for unknown
response.