WSClient

trait WSClient[F[_]]
Companion
object
class Object
trait Matchable
class Any

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.

def connectHighLevel(request: WSRequest): Resource[F, WSConnectionHighLevel[F]]

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.