sealed trait Response extends Message

Linear Supertypes
Message, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Response
  2. Message
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def headers: Map[String, String]

    Every message contains a set of HTTP-like headers, but these headers are defined outside of the JSON-RPC protocol specification and are transmitted at the transport level.

    Every message contains a set of HTTP-like headers, but these headers are defined outside of the JSON-RPC protocol specification and are transmitted at the transport level. That is, it is up to the message readers and writers to decide how these headers are trasmitted over the network.

    For example, if JSON-RPC is being transmitted over HTTP/2, the message reader and writer implementation can use the HTTP/2 headers to transport the message headers. Howevrer, if JSON-RPC messages are transmitted over a socket such as WebSockets or a pipe or file channel, then these headers can be transmitted with the base protocol defined in the Language Server Protocol here.

    This last strategy is the one implemented in this library by default as it is the most flexible regardless of the transport used for JSON-RPC messages.

    Note that because of this, headers are never serialized into the JSON wire format and the serializers/deserializers here defined will remove any headers before writing and before reading JSON-RPC messages.

    Definition Classes
    Message
  2. abstract def jsonrpc: String
    Definition Classes
    Message

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def isSuccess: Boolean
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Message

Inherited from AnyRef

Inherited from Any

Ungrouped