case class CloseMessage(statusCode: Option[Int] = Some(CloseCodes.Regular), reason: String = "") extends Message with Product with Serializable

A close message.

statusCode

The close status code.

reason

The reason it was closed.

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

Instance Constructors

  1. new CloseMessage(statusCode: Option[Int] = Some(CloseCodes.Regular), reason: String = "")

    statusCode

    The close status code.

    reason

    The reason it was closed.

Value Members

  1. def productElementNames: Iterator[String]
    Definition Classes
    Product
  2. val reason: String
  3. val statusCode: Option[Int]