ArmeriaFutureBackend

sttp.client3.armeria.future.ArmeriaFutureBackend

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(options: SttpBackendOptions): SttpBackend[Future, Any]

Creates a new Armeria backend, using the given or default SttpBackendOptions. Due to these customisations, the client will manage its own connection pool. If you'd like to reuse the default Armeria ClientFactory use .usingDefaultClient.

Creates a new Armeria backend, using the given or default SttpBackendOptions. Due to these customisations, the client will manage its own connection pool. If you'd like to reuse the default Armeria ClientFactory use .usingDefaultClient.

Attributes

def usingClient(client: WebClient): SttpBackend[Future, Any]
def usingDefaultClient(): SttpBackend[Future, Any]