final case class WebSocketApp[-R](handler: Handler[R, Throwable, WebSocketChannel, Any], customConfig: Option[WebSocketConfig]) extends Product with Serializable

Self Type
WebSocketApp[R]
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebSocketApp
  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 WebSocketApp(handler: Handler[R, Throwable, WebSocketChannel, Any], customConfig: Option[WebSocketConfig])

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() @IntrinsicCandidate()
  6. def connect(url: URL, headers: Headers)(implicit trace: Trace): ZIO[R with Client with Scope, Throwable, Response]
  7. def connect(url: String, headers: Headers = Headers.empty)(implicit trace: Trace): ZIO[R with Client with Scope, Throwable, Response]

    Creates a socket connection on the provided URL.

    Creates a socket connection on the provided URL. Typically used to connect as a client.

  8. val customConfig: Option[WebSocketConfig]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. val handler: Handler[R, Throwable, WebSocketChannel, Any]
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. def provideEnvironment(r: ZEnvironment[R])(implicit trace: Trace): WebSocketApp[Any]
  17. def provideLayer[R0](layer: ZLayer[R0, Throwable, R])(implicit trace: Trace): WebSocketApp[R0]
  18. def provideSomeEnvironment[R1](f: (ZEnvironment[R1]) ⇒ ZEnvironment[R])(implicit trace: Trace): WebSocketApp[R1]
  19. def provideSomeLayer[R0, R1](layer: ZLayer[R0, Throwable, R1])(implicit arg0: Tag[R1], ev: <:<[R0 with R1, R], trace: Trace): WebSocketApp[R0]
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def tapErrorCauseZIO[R1 <: R](f: (Cause[Throwable]) ⇒ ZIO[R1, Throwable, Any])(implicit trace: Trace): WebSocketApp[R1]
  22. def tapErrorZIO[R1 <: R](f: (Throwable) ⇒ ZIO[R1, Throwable, Any])(implicit trace: Trace): WebSocketApp[R1]

    Returns a Handler that effectfully peeks at the failure of this SocketApp.

  23. def toResponse(implicit trace: Trace): ZIO[R, Nothing, Response]

    Creates a new response from a socket handler.

  24. def toRoutes(implicit trace: Trace): Routes[R, Response]
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def withConfig(config: WebSocketConfig): WebSocketApp[R]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def toHttpAppWS(implicit trace: Trace): HttpApp[R]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-RC7) Use toRoutes. Will be removed in the next release.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped