Writes JSON-RPC messages to an underlying transport.
Readonly
An event raised when the underlying transport has closed and writing is no longer possible.
Raised whenever an error occurs while writing a message.
Releases resources incurred from writing or raising events. Does NOT close the underlying transport, if any.
Call when the connection using this message writer ends (e.g. MessageConnection.end() is called)
Sends a JSON-RPC message.
The JSON-RPC message to be sent.
Implementations should guarantee messages are transmitted in the same order that they are received by this method.
Writes JSON-RPC messages to an underlying transport.