automorph.transport.http.client.SttpClient$
See theSttpClient companion class
object SttpClient
Attributes
- Companion
- class
- Graph
-
- Supertypes
- Self type
-
SttpClient.type
Members list
Type members
Classlikes
object TransportContext
Attributes
- Companion
- class
- Supertypes
- Self type
-
TransportContext.type
Types
Request context type.
Request context type.
Attributes
Inherited types
The names of the product elements
The name of the type
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
In this article