package client
- Source
- package.scala
- Alphabetic
- By Inheritance
- client
- ClientTypes
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
Type Members
- trait Client[F[_]] extends AnyRef
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.
- class ConnectionFailure extends IOException
Indicates a failure to establish a client connection, preserving the request key that we tried to connect to.
- sealed abstract class JavaNetClientBuilder[F[_]] extends BackendBuilder[F, Client[F]]
Builder for a Client backed by on
java.net.HttpUrlConnection
.Builder for a Client backed by on
java.net.HttpUrlConnection
.The java.net client adds no dependencies beyond
http4s-client
. This client is generally not production grade, but convenient for exploration in a REPL.All I/O operations in this client are blocking.
- type Middleware[F[_]] = (Client[F]) => Client[F]
- Definition Classes
- ClientTypes
- final case class RequestKey(scheme: Scheme, authority: Authority) extends Product with Serializable
Represents a key for requests that can conceivably share a Connection.
- final case class UnexpectedStatus(status: Status, requestMethod: Method, requestUri: Uri) extends RuntimeException with NoStackTrace with Product with Serializable
Deprecated Type Members
- trait Connection[F[_]] extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 0.23.8) Is a Blaze detail. Will be removed from public API.
- type ConnectionBuilder[F[_], A <: Connection[F]] = (RequestKey) => F[A]
- Definition Classes
- ClientTypes
- Annotations
- @deprecated
- Deprecated
(Since version 0.23.8) Is a Blaze detail. Will be removed from public API.
Value Members
- object Client
- object ConnectionFailure extends Serializable
- object JavaNetClientBuilder
Builder for a Client backed by on
java.net.HttpUrlConnection
. - object RequestKey extends Serializable
- object defaults