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: 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.

  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 JsonRpcClient extends AnyRef
  10. trait JsonRpcService extends Service[Message, Response]
  11. class LanguageClient extends JsonRpcClient
  12. final class LanguageServer extends AnyRef
  13. sealed trait Message extends AnyRef
  14. 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.

  15. trait MethodName extends AnyRef
  16. trait NamedJsonRpcService extends JsonRpcService with MethodName
  17. final case class Notification(method: String, params: Option[RawJson], jsonrpc: String = "2.0") extends Message with Product with Serializable
  18. final case class RawJson(value: Array[Byte]) extends Product with Serializable
  19. final case class Request(method: String, params: Option[RawJson], id: RequestId, jsonrpc: String = "2.0") extends Message with Product with Serializable
  20. sealed trait RequestId extends AnyRef
  21. sealed trait Response extends Message
  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 JsonRpcClient
  9. object LanguageClient
  10. object Message
  11. object MessageWriter
  12. object MonixEnrichments
  13. object Notification extends Serializable
  14. object RawJson extends Serializable
  15. object Request extends Serializable
  16. object RequestId
  17. object Response
  18. object Service
  19. object Services

Ungrouped