Expand description
Content-Length-framed JSON-RPC 2.0 over async I/O.
This is the primitive every LSP server uses to talk to its client. We own the framing and routing so the toolkit does not depend on an unmaintained third-party LSP server crate.
Structs§
- Json
RpcError - A JSON-RPC 2.0 error object.
- Message
- An incoming JSON-RPC message.
- Message
Writer - Writer half of a JSON-RPC connection, serialized so multiple tasks can send.
Enums§
- Framing
Error - Errors from reading or writing JSON-RPC messages.
- Request
Id - JSON-RPC 2.0 message identifier. Either a request ID or absent for notifications.
Functions§
- read_
message - Read one Content-Length-framed JSON-RPC message from
reader.