WSClient

org.http4s.client.websocket.WSClient
See theWSClient companion object
trait WSClient[F[_]] extends WSClientHighLevel[F]

Attributes

Companion:
object
Source:
WSClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Abstract methods

def connect(request: WSRequest): Resource[F, WSConnection[F]]

Establish a websocket connection. It will be closed automatically if necessary.

Establish a websocket connection. It will be closed automatically if necessary.

Attributes

Source:
WSClient.scala

Concrete methods

override def mapK[G[_]](fk: FunctionK[F, G])(implicit F: MonadCancel[F, _], G: MonadCancel[G, _]): WSClient[G]

Attributes

Definition Classes
Source:
WSClient.scala

Inherited methods

Establish a "high level" websocket connection. You only get to handle Text and Binary frames. Pongs will be replied automatically. Received frames are grouped by the last attribute. The connection will be closed automatically.

Establish a "high level" websocket connection. You only get to handle Text and Binary frames. Pongs will be replied automatically. Received frames are grouped by the last attribute. The connection will be closed automatically.

Attributes

Inherited from:
WSClientHighLevel
Source:
WSClient.scala