pillars.httpclient

Members list

Packages

Type members

Classlikes

object ClientMetrics

Attributes

Companion
class
Source
metrics.scala
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
Source
metrics.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait FailureHandler[F[_], EO, O]

Attributes

Companion
object
Source
httpclient.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
httpclient.scala
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
Source
httpclient.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Client[F]
trait Module[F]
class Object
trait Matchable
class Any
Show all
object HttpClient extends ModuleSupport

Attributes

Companion
class
Source
httpclient.scala
Supertypes
class Object
trait Matchable
class Any
Self type
HttpClient.type
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
Source
metrics.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
metrics.scala
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

Source
traces.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object temp

Attributes

Source
traces.scala
Supertypes
class Object
trait Matchable
class Any
Self type
temp.type

Value members

Concrete methods

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

Attributes

Source
httpclient.scala

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]]

Attributes

Source
httpclient.scala
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]]

Attributes

Source
httpclient.scala