p

jsonrpc4s

package jsonrpc4s

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package testkit

Type Members

  1. final class BaseProtocolMessage extends AnyRef
  2. final class BaseProtocolMessageParser extends Operator[ByteBuffer, BaseProtocolMessage]
  3. case class CancelParams(id: RequestId) extends Product with Serializable
  4. final case class Connection(client: RpcClient, 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.

  5. class Endpoint[A, B] extends AnyRef
  6. sealed abstract class ErrorCode extends AnyRef
  7. case class ErrorObject(code: ErrorCode, message: String, data: Option[RawJson]) extends Product with Serializable
  8. final class InputOutput extends Cancelable

    Wrapper around a pair of input/output streams.

  9. trait JsonRpcService extends Service[Message, Response]
  10. sealed trait Message extends AnyRef
  11. 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.

  12. trait MethodName extends AnyRef
  13. trait NamedJsonRpcService extends JsonRpcService with MethodName
  14. final case class Notification(method: String, params: Option[RawJson], jsonrpc: String = "2.0") extends Message with Product with Serializable
  15. final case class RawJson(value: Array[Byte]) extends Product with Serializable
  16. final case class Request(method: String, params: Option[RawJson], id: RequestId, jsonrpc: String = "2.0") extends Message with Product with Serializable
  17. sealed trait RequestId extends AnyRef
  18. sealed trait Response extends Message
  19. trait RpcActions extends AnyRef
  20. class RpcClient extends RpcActions
  21. final class RpcServer extends AnyRef
  22. trait Service[A, B] extends AnyRef
  23. class Services extends AnyRef

Value Members

  1. object BaseMessageCodecs
  2. object BaseProtocolMessage
  3. object CancelParams extends Serializable
  4. object Connection extends Serializable
  5. object Endpoint
  6. object ErrorCode extends Product with Serializable
  7. object ErrorObject extends Serializable
  8. object Message
  9. object MessageWriter
  10. object MonixEnrichments
  11. object Notification extends Serializable
  12. object RawJson extends Serializable
  13. object Request extends Serializable
  14. object RequestId
  15. object Response
  16. object RpcActions
  17. object RpcClient
  18. object RpcServer
  19. object Service
  20. object Services

Ungrouped