WSConnectionHighLevel

org.http4s.client.websocket.WSConnectionHighLevel

Attributes

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

Members list

Concise view

Value members

Abstract methods

The close frame, if available.

The close frame, if available.

Attributes

Source:
WSClient.scala

Wait for a websocket frame to be received. Returns None if the receiving side is closed. Fragmentation is handled automatically, the last attribute can be ignored.

Wait for a websocket frame to be received. Returns None if the receiving side is closed. Fragmentation is handled automatically, the last attribute can be ignored.

Attributes

Source:
WSClient.scala
def send(wsf: WSDataFrame): F[Unit]

Send a single websocket frame. The sending side of this connection has to be open.

Send a single websocket frame. The sending side of this connection has to be open.

Attributes

Source:
WSClient.scala
def sendMany[G[_] : Foldable, A <: WSDataFrame](wsfs: G[A]): F[Unit]

Send multiple websocket frames. Equivalent to multiple send calls, but at least as fast.

Send multiple websocket frames. Equivalent to multiple send calls, but at least as fast.

Attributes

Source:
WSClient.scala

The negotiated subprotocol, if any.

The negotiated subprotocol, if any.

Attributes

Source:
WSClient.scala

Concrete methods

def mapK[G[_]](fk: FunctionK[F, G]): WSConnectionHighLevel[G]

Attributes

Source:
WSClient.scala

A stream of the incoming websocket frames.

A stream of the incoming websocket frames.

Attributes

Source:
WSClient.scala
def sendBinary(bytes: ByteVector): F[Unit]

Send a single websocket binary frame. The sending side of this connection has to be open.

Send a single websocket binary frame. The sending side of this connection has to be open.

Attributes

Source:
WSClient.scala

A Pipe which sends websocket frames and emits a () for each chunk sent.

A Pipe which sends websocket frames and emits a () for each chunk sent.

Attributes

Source:
WSClient.scala
def sendText(text: String): F[Unit]

Send a single websocket text frame. The sending side of this connection has to be open.

Send a single websocket text frame. The sending side of this connection has to be open.

Attributes

Source:
WSClient.scala