automorph.transport.http.client

Members list

Type members

Classlikes

final case class HttpClient[Effect[_]](effectSystem: EffectSystem[Effect], url: URI, method: HttpMethod, builder: Builder) extends ClientTransport[Effect, Context]

Standard JRE HttpClient HTTP & WebSocket client message transport plugin.

Standard JRE HttpClient HTTP & WebSocket client message transport plugin.

Uses the supplied RPC request as HTTP request body and returns HTTP response body as a result.

Type parameters

Effect

effect type

Value parameters

builder

HttpClient builder (default: empty)

effectSystem

effect system plugin

method

HTTP request method (default: POST)

url

remote API HTTP or WebSocket URL

Attributes

Constructor

Creates an HttpClient HTTP & WebSocket message client transport plugin.

See also
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ClientTransport[Effect, Context]
class Object
trait Matchable
class Any
Show all
object HttpClient

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
HttpClient.type
final case class JettyClient[Effect[_]](effectSystem: EffectSystem[Effect], url: URI, method: HttpMethod, httpClient: HttpClient) extends ClientTransport[Effect, Context]

Jetty HTTP & WebSocket client message transport plugin.

Jetty HTTP & WebSocket client message transport plugin.

The client uses the supplied RPC request as HTTP request body and returns HTTP response body as a result.

Type parameters

Effect

effect type

Value parameters

effectSystem

effect system plugin

httpClient

Jetty HTTP client

method

HTTP request method (default: POST)

url

remote API HTTP or WebSocket URL

Attributes

Constructor

Creates a Jetty HTTP & WebSocket message client transport plugin.

See also
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ClientTransport[Effect, Context]
class Object
trait Matchable
class Any
Show all
object JettyClient

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SttpClient[Effect[_]]

STTP HTTP & WebSocket client message transport plugin.

STTP HTTP & WebSocket client message transport plugin.

Uses the supplied RPC request as HTTP request body and returns HTTP response body as a result.

Type parameters

Effect

effect type

Value parameters

backend

STTP backend

effectSystem

effect system plugin

method

HTTP request method

url

remote API HTTP or WebSocket URL

Attributes

Constructor

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

See also
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ClientTransport[Effect, Context]
class Object
trait Matchable
class Any
Show all
object SttpClient

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SttpClient.type
final case class UrlClient[Effect[_]](effectSystem: EffectSystem[Effect], url: URI, method: HttpMethod) extends ClientTransport[Effect, Context]

Standard JRE HttpURLConnection HTTP client message transport plugin.

Standard JRE HttpURLConnection HTTP client message transport plugin.

Uses the supplied RPC request as HTTP request body and returns HTTP response body as a result.

Type parameters

Effect

effect type

Value parameters

effectSystem

effect system plugin

method

HTTP request method (default: POST)

url

remote API HTTP URL

Attributes

Constructor

Creates an HttpURLConnection HTTP client message transport plugin.

See also
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ClientTransport[Effect, Context]
class Object
trait Matchable
class Any
Show all
object UrlClient

Attributes

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