final case class Notification(method: String, params: Option[RawJson], headers: Map[String, String], jsonrpc: String = "2.0") extends Message with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Message, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Notification
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Message
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Notification(method: String, params: Option[RawJson], headers: Map[String, String], jsonrpc: String = "2.0")

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( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  9. val 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
    NotificationMessage
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val jsonrpc: String
    Definition Classes
    NotificationMessage
  12. val method: String
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. val params: Option[RawJson]
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Message

Inherited from AnyRef

Inherited from Any

Ungrouped