SttpClient

automorph.transport.http.client.SttpClient
See theSttpClient companion class
object SttpClient

Attributes

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

Members list

Type members

Classlikes

Transport context.

Transport context.

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

Types

Request context type.

Request context type.

Attributes

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

inline def apply[Effect[_], Capabilities](effectSystem: EffectSystem[Effect], backend: SttpBackend[Effect, Capabilities], url: URI, method: HttpMethod): SttpClient[Effect]

Creates an STTP HTTP client message transport plugin with the specified STTP backend.

Creates an STTP HTTP client message transport plugin with the specified STTP backend.

Use the alternative SttpClient.webSocket function for STTP backends with WebSocket capability.

Type parameters

Capabilities

STTP backend capabilities

Effect

effect type

Value parameters

backend

STTP backend

effectSystem

effect system plugin

method

HTTP request method (default: POST)

url

remote API HTTP URL

Attributes

Returns

STTP HTTP client message transport plugin