JdkHttpClient

org.http4s.jdkhttpclient.JdkHttpClient$

Attributes

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

Members list

Concise view

Value members

Concrete methods

def apply[F[_]](jdkHttpClient: HttpClient, ignoredHeaders: Set[CIString])(implicit F: Async[F]): Client[F]

Creates a Client from an HttpClient.

Creates a Client from an HttpClient.

Attributes

ignoredHeaders

A set of ignored request headers. Some headers (like Content-Length) are "restricted" and cannot be set by the user. By default, the set of restricted headers of the OpenJDK 11 is used.

jdkHttpClient

The HttpClient.

Source:
JdkHttpClient.scala
def convertHttpVersionFromHttp4s[F[_]](version: HttpVersion)(implicit F: ApplicativeThrow[F]): F[Version]

Attributes

Source:
JdkHttpClient.scala
def simple[F[_]](implicit F: Async[F]): F[Client[F]]

A Client wrapping the default HttpClient.

A Client wrapping the default HttpClient.

Attributes

Source:
JdkHttpClient.scala