zio.http.WebSocketApp
See theWebSocketApp companion object
final case class WebSocketApp[-R](handler: Handler[R, Throwable, WebSocketChannel, Any], customConfig: Option[WebSocketConfig])
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
WebSocketApp[R]
Members list
Value members
Concrete methods
Creates a socket connection on the provided URL. Typically used to connect as a client.
Creates a socket connection on the provided URL. Typically used to connect as a client.
Attributes
def provideSomeEnvironment[R1](f: ZEnvironment[R1] => ZEnvironment[R])(implicit trace: Trace): WebSocketApp[R1]
def provideSomeLayer[R0, R1 : Tag](layer: ZLayer[R0, Throwable, R1])(implicit evidence$1: Tag[R1], ev: R0 & R1 <:< R, trace: Trace): WebSocketApp[R0]
def tapErrorCauseZIO[R1 <: R](f: Cause[Throwable] => ZIO[R1, Throwable, Any])(implicit trace: Trace): WebSocketApp[R1]
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.
Returns a Handler that effectfully peeks at the failure of this SocketApp.
Attributes
Creates a new response from a socket handler.
Creates a new response from a socket handler.
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article