Overviewsqubs-httpclient project adds operationalization aspects to Akka HTTP Host-Level Client-Side APIwhile keeping the Akka HTTP API. Here is the list of features it adds: Service Discovery: Lets any service discovery mechanism to be plugged in and allows resolving HTTP endpoints by string identifiers, e.g., paymentserv.Per Client configuration: Let's each client to individually override defaults in application.conf.Pipeline: Allows a BidiAkka Streams flow to be registered globally or individually for clients.Metrics: Provides Codahale Metrics out-of-the-box for each client without AspectJ.JMX Beans: Exposes the configuration of each client as JMX beans.Circuit Breaker: Provides resiliency with a stream based circuit breaker.
Below is an HttpRequest creation example in Scala. Please see HTTP Model Scala documentation for more details: importHttpProtocols._
valauthorization = header…