JdkWSClient

object JdkWSClient

A WSClient wrapper for the JDK 11+ websocket client. It will reply to Pongs with Pings even in "low-level" mode. Custom (non-GET) HTTP methods are ignored.

A WSClient wrapper for the JDK 11+ websocket client. It will reply to Pongs with Pings even in "low-level" mode. Custom (non-GET) HTTP methods are ignored.

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_]](jdkHttpClient: HttpClient)(F: ConcurrentEffect[F], CS: ContextShift[F]): WSClient[F]

Create a new WSClient backed by a JDK 11+ http client.

Create a new WSClient backed by a JDK 11+ http client.

def simple[F[_]](F: ConcurrentEffect[F], CS: ContextShift[F]): F[WSClient[F]]

A WSClient wrapping the default HttpClient.

A WSClient wrapping the default HttpClient.