SimpleHttpClient

sttp.client3.SimpleHttpClient$
See theSimpleHttpClient companion class

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[T](f: SimpleHttpClient => Future[T])(implicit ec: ExecutionContext): Future[T]

Runs the given function f with a new, default instance of SimpleHttpClient and closes the client after the function completes, cleaning up any resources.

Runs the given function f with a new, default instance of SimpleHttpClient and closes the client after the function completes, cleaning up any resources.

Attributes