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.

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_]](jdkHttpClient: HttpClient)(implicit F: Async[F]): Resource[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[_]](implicit F: Async[F]): Resource[F, WSClient[F]]

A WSClient wrapping the default HttpClient.

A WSClient wrapping the default HttpClient.