Class

io.backchat.hookup

HookupClientConfig

Related Doc: package hookup

Permalink

case class HookupClientConfig(uri: URI, version: WebSocketVersion = WebSocketVersion.V13, initialHeaders: Map[String, String] = Map.empty, protocols: Seq[WireFormat] = DefaultProtocols, defaultProtocol: WireFormat = ..., pinging: Timeout = Timeout(60 seconds), buffer: Option[BackupBuffer] = None, throttle: Throttle = NoThrottle, executionContext: ExecutionContext = HookupClient.executionContext) extends Product with Serializable

The configuration of a websocket client.

uri

The java.net.URI to connect to.

version

The version of the websocket handshake to use, defaults to the most recent version.

initialHeaders

The headers to send along with the handshake request.

protocols

The protocols this websocket client can understand

defaultProtocol

the default protocol this client should use

pinging

The timeout for pinging.

buffer

The buffer to use when the connection to the server is lost.

throttle

The throttle to use as reconnection schedule.

executionContext

The execution context for futures.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HookupClientConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HookupClientConfig(uri: URI, version: WebSocketVersion = WebSocketVersion.V13, initialHeaders: Map[String, String] = Map.empty, protocols: Seq[WireFormat] = DefaultProtocols, defaultProtocol: WireFormat = ..., pinging: Timeout = Timeout(60 seconds), buffer: Option[BackupBuffer] = None, throttle: Throttle = NoThrottle, executionContext: ExecutionContext = HookupClient.executionContext)

    Permalink

    uri

    The java.net.URI to connect to.

    version

    The version of the websocket handshake to use, defaults to the most recent version.

    initialHeaders

    The headers to send along with the handshake request.

    protocols

    The protocols this websocket client can understand

    defaultProtocol

    the default protocol this client should use

    pinging

    The timeout for pinging.

    buffer

    The buffer to use when the connection to the server is lost.

    throttle

    The throttle to use as reconnection schedule.

    executionContext

    The execution context for futures.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val buffer: Option[BackupBuffer]

    Permalink

    The buffer to use when the connection to the server is lost.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val defaultProtocol: WireFormat

    Permalink

    the default protocol this client should use

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. val executionContext: ExecutionContext

    Permalink

    The execution context for futures.

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getBuffer(): Option[BackupBuffer]

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getDefaultProtocol(): WireFormat

    Permalink
  14. def getExecutionContext(): ExecutionContext

    Permalink
  15. def getInitialHeaders(): Map[String, String]

    Permalink
  16. def getPinging(): Timeout

    Permalink
  17. def getProtocols(): Seq[WireFormat]

    Permalink
  18. def getThrottle(): Throttle

    Permalink
  19. def getUri(): URI

    Permalink
  20. def getVersion(): WebSocketVersion

    Permalink
  21. val initialHeaders: Map[String, String]

    Permalink

    The headers to send along with the handshake request.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. val pinging: Timeout

    Permalink

    The timeout for pinging.

  27. val protocols: Seq[WireFormat]

    Permalink

    The protocols this websocket client can understand

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. val throttle: Throttle

    Permalink

    The throttle to use as reconnection schedule.

  30. val uri: URI

    Permalink

    The java.net.URI to connect to.

  31. val version: WebSocketVersion

    Permalink

    The version of the websocket handshake to use, defaults to the most recent version.

  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped