Packages

final case class WebSocketRequest(uri: Uri, extraHeaders: Seq[HttpHeader] = Nil, subprotocol: Option[String] = None) extends Product with Serializable

Represents a WebSocket request.

uri

The target URI to connect to.

extraHeaders

Extra headers to add to the WebSocket request.

subprotocol

WebSocket subprotocols (comma separated) if required.

Source
WebSocketRequest.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebSocketRequest
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WebSocketRequest(uri: Uri, extraHeaders: Seq[HttpHeader] = Nil, subprotocol: Option[String] = None)

    uri

    The target URI to connect to.

    extraHeaders

    Extra headers to add to the WebSocket request.

    subprotocol

    WebSocket subprotocols (comma separated) if required.

Value Members

  1. val extraHeaders: Seq[HttpHeader]
  2. def productElementNames: Iterator[String]
    Definition Classes
    Product
  3. val subprotocol: Option[String]
  4. val uri: Uri