jsonrpc4s
package jsonrpc4s
- Alphabetic
- Public
- Protected
Type Members
- final class BaseProtocolMessage extends AnyRef
- final class BaseProtocolMessageParser extends Operator[ByteBuffer, BaseProtocolMessage]
- case class CancelParams(id: RequestId) extends Product with Serializable
- final case class Connection(client: LanguageClient, server: CancelableFuture[Unit]) extends Cancelable with Product with Serializable
A connection with another JSON-RPC entity.
A connection with another JSON-RPC entity.
- client
used to send requests/notification to the other entity.
- server
server on this side listening to input streams from the other entity.
- class Endpoint[A, B] extends AnyRef
- sealed abstract class ErrorCode extends AnyRef
- case class ErrorObject(code: ErrorCode, message: String, data: Option[RawJson]) extends Product with Serializable
- final class InputOutput extends Cancelable
Wrapper around a pair of input/output streams.
- trait JsonRpcClient extends AnyRef
- trait JsonRpcService extends Service[Message, Response]
- class LanguageClient extends JsonRpcClient
- final class LanguageServer extends AnyRef
- sealed trait Message extends AnyRef
- class MessageWriter extends AnyRef
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.
- trait MethodName extends AnyRef
- trait NamedJsonRpcService extends JsonRpcService with MethodName
- final case class Notification(method: String, params: Option[RawJson], jsonrpc: String = "2.0") extends Message with Product with Serializable
- final case class RawJson(value: Array[Byte]) extends Product with Serializable
- final case class Request(method: String, params: Option[RawJson], id: RequestId, jsonrpc: String = "2.0") extends Message with Product with Serializable
- sealed trait RequestId extends AnyRef
- sealed trait Response extends Message
- trait Service[A, B] extends AnyRef
- class Services extends AnyRef
Value Members
- object BaseMessageCodecs
- object BaseProtocolMessage
- object CancelParams extends Serializable
- object Connection extends Serializable
- object Endpoint
- object ErrorCode extends Product with Serializable
- object ErrorObject extends Serializable
- object JsonRpcClient
- object LanguageClient
- object Message
- object MessageWriter
- object MonixEnrichments
- object Notification extends Serializable
- object RawJson extends Serializable
- object Request extends Serializable
- object RequestId
- object Response
- object Service
- object Services