org.http4s.client
package org.http4s.client
Type members
Classlikes
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
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.
- Value Params
- blockingExecutionContext
An
ExecutionContext
on which blocking operations will be performed.
- Companion
- object
Represents a key for requests that can conceivably share a Connection.
Represents a key for requests that can conceivably share a Connection.
- Companion
- object
final case class UnexpectedStatus(status: Status, requestMethod: Method, requestUri: Uri) extends RuntimeException with NoStackTrace