org.http4s.client.jdkhttpclient

Type members

Classlikes

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.

trait WSClient[F[_]]
Companion
object
object WSClient
Companion
class
trait WSConnection[F[_]]
sealed trait WSControlFrame extends WSFrame
sealed trait WSDataFrame extends WSFrame
sealed trait WSFrame extends Product with Serializable
Companion
object
object WSFrame
Companion
class
case class WSRequest(uri: Uri, headers: Headers, method: Method)

A websocket request.

A websocket request.

Value Params
headers

The headers to send. Put your Sec-Websocket-Protocol headers here if needed. Some websocket clients reject other WS-specific headers.

method

The method of the intial HTTP request. Ignored by some clients.

uri

The URI.