p

scala.meta

jsonrpc

package jsonrpc

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final class BaseProtocolMessage extends AnyRef
  2. final class BaseProtocolMessageParser extends Operator[ByteBuffer, BaseProtocolMessage]
  3. case class CancelParams(id: Json) 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[Json]) 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. case class Notification(method: String, params: Option[Json]) extends Message with Product with Serializable
  18. case class Request(method: String, params: Option[Json], id: RequestId) extends Message with Product with Serializable
  19. sealed trait RequestId extends AnyRef
  20. sealed trait Response extends Message
  21. trait Service[A, B] extends AnyRef
  22. class Services extends AnyRef

Value Members

  1. object BaseProtocolMessage
  2. object CancelParams extends Serializable
  3. object Connection extends Serializable
  4. object Endpoint
  5. object ErrorCode extends Product with Serializable
  6. object ErrorObject extends Serializable
  7. object JsonRpcClient
  8. object LanguageClient
  9. object Message
  10. object MessageWriter
  11. object MonixEnrichments
  12. object Notification extends Serializable
  13. object Request extends Serializable
  14. object RequestId
  15. object Response
  16. object Service
  17. object Services

Ungrouped