org.http4s.client

Type members

Classlikes

trait Client[F[_]]

A Client submits Requests to a server and processes the Response.

A Client submits Requests to a server and processes the Response.

When a connection is "released" and the HTTP semantics of the request and response permit, the connection may be kept alive by the backend and used for a subsequent request. When HTTP semantics require it, or at the backend's discretion, a released connection may also be closed.

Companion:
object
Source:
Client.scala
object Client
Companion:
class
Source:
Client.scala
class ConnectionFailure(val requestKey: RequestKey, val upstream: InetSocketAddress, val cause: Throwable) extends IOException

Indicates a failure to establish a client connection, preserving the request key that we tried to connect to.

Indicates a failure to establish a client connection, preserving the request key that we tried to connect to.

Companion:
object
Source:
ConnectionFailure.scala
final case class RequestKey(scheme: Scheme, authority: Authority)

Represents a key for requests that can conceivably share a Connection.

Represents a key for requests that can conceivably share a Connection.

Companion:
object
Source:
RequestKey.scala
object RequestKey
Companion:
class
Source:
RequestKey.scala
final case class UnexpectedStatus(status: Status, requestMethod: Method, requestUri: Uri) extends RuntimeException with NoStackTrace
object defaults

Deprecated classlikes

@deprecated("Is a Blaze detail. Will be removed from public API.", "0.23.8")
trait Connection[F[_]]
Deprecated
Source:
Connection.scala

Inherited types

type Middleware[F[_]] = Client[F] => Client[F]
Inherited from:
ClientTypes
Source:
package.scala

Deprecated and Inherited types

@deprecated("Is a Blaze detail. Will be removed from public API.", "0.23.8")
type ConnectionBuilder[F[_], A <: Connection[F]] = RequestKey => F[A]
Deprecated
Inherited from:
ClientTypes
Source:
package.scala