jsonRpc
package jsonRpc
- Alphabetic
- Public
- Protected
Type Members
- class CircularArrayBuffer[A] extends Seq[A]
A data structure that provides O(1) get, update, length, append, prepend, clear, trimStart and trimRight
- class JVMMessageReader extends MessageReader with LazyLogging
A Language Server message Reader.
A Language Server message Reader. It expects the following format:
<Header> '\r\n' <Content>
Header := FieldName ':' FieldValue '\r\n'
Currently there are two defined header fields: - 'Content-Length' in bytes (required) - 'Content-Type' (string), defaults to 'application/vscode-jsonrpc; charset=utf8'
- Note
The header part is defined to be ASCII encoded, while the content part is UTF8.
- class JVMMessageWriter extends MessageWriter with LazyLogging
A class to write Json RPC messages on an output stream, following the Language Server Protocol.
A class to write Json RPC messages on an output stream, following the Language Server Protocol. It produces the following format:
<Header> '\r\n' <Content>
Header := FieldName ':' FieldValue '\r\n'
Currently there are two defined header fields: - 'Content-Length' in bytes (required) - 'Content-Type' (string), defaults to 'application/vscode-jsonrpc; charset=utf8'
- Note
The header part is defined to be ASCII encoded, while the content part is UTF8.
- class JVMQueue[Item] extends SerialWorkQueue[Item]
- class JsonRpcConnection extends LazyLogging
- trait JsonRpcHandler extends AnyRef
- class LSPServer extends SharedLSPServer
- abstract class MessagePreprocessor extends JsonRpcHandler with LazyLogging
- trait MessageReader extends AnyRef
- trait MessageWriter extends AnyRef
- class MethodBasedJsonRpcHandler extends JsonRpcHandler with LazyLogging
- case class Notification(notification: JsonRpcNotificationMessage) extends WorkItem with Product with Serializable
- case class Request(request: JsonRpcRequestMessage, result: Promise[JsonRpcResponseMessage]) extends WorkItem with Product with Serializable
- trait SerialWorkQueue[Item] extends AnyRef
A asynchronous queue that executes work serially
- trait WorkItem extends AnyRef
Value Members
- object MessageReader
- object MethodBasedJsonRpcHandler