Smith::MCP::Transport
Inherits Reference < Object
Instance methods
close
Sourcefailure_hint
Why the stream died, when the transport knows more than "EOF". stdio has nothing to add; an HTTP transport can say which status or which network error it was. Read once, when the pending callers are abandoned.
send(line : String) : Nil
One complete message. Framing is line-based, so neither side may embed a raw newline — JSON escapes them, which is why this works at all.
stderr_tail
A subprocess's own stderr, kept so a failed handshake can say what the process actually complained about. Only stdio has one.