pillars.httpclient

Members list

Packages

Type members

Classlikes

object ClientMetrics

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final case class ClientMetrics[F[_]](metrics: MetricsCollection[F])(using async: Async[F], clock: Clock[F])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait FailureHandler[F[_], EO, O]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HttpClient[F[_]](config: Config)(client: Client[F])(implicit evidence$1: Async[F]) extends Module[F], Client[F]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Client[F]
trait Module[F]
class Object
trait Matchable
class Any
Show all
object HttpClient

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HttpClient.type
class Loader extends Loader

Attributes

Supertypes
trait Loader
class Object
trait Matchable
class Any
final case class MetricsCollection[F[_]](responseDuration: Histogram[F, Long], activeRequests: UpDownCounter[F, Long], totalRequests: Counter[F, Long], requestBodySize: Histogram[F, Long], responseBodySize: Histogram[F, Long])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class Traces[F[_]](tracer: Tracer[F])(implicit evidence$1: Async[F])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object temp

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
temp.type

Value members

Concrete methods

def http[F[_]](using p: Pillars[F]): HttpClient[F]

Extensions

Extensions

extension [I, EO, O, R](endpoint: PublicEndpoint[I, EO, O, R])
def call[F[_]](uri: Option[Uri])(input: I): F ?=> F[Either[EO, O]]
extension [SI, I, EO, O, R](endpoint: Endpoint[SI, I, EO, O, R])
def call[F[_]](uri: Option[Uri])(securityInput: SI, input: I): F ?=> F[Either[EO, O]]