EndpointTransport

automorph.spi.EndpointTransport

Existing server transport layer integration plugin.

Enables RPC endpoint to integrate with and handle requests from an existing server infrastructure.

Passively parses requests to be processed by the RPC handler and creates responses usable by specific server.

Type parameters

Adapter

transport layer adapter type

Context

RPC message context type

Effect

effect type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class GenericEndpoint[Effect, Context]
class AkkaHttpEndpoint[Effect]
class FinagleHttpEndpoint[Effect]
class JettyHttpEndpoint[Effect]
class JettyWebSocketEndpoint[Effect]
class TapirHttpEndpoint[Effect]
class UndertowHttpEndpoint[Effect]
class VertxHttpEndpoint[Effect]
class VertxWebSocketEndpoint[Effect]
Show all

Members list

Value members

Abstract methods

def adapter: Adapter

Transport layer adapter.

Transport layer adapter.

Attributes

def effectSystem: EffectSystem[Effect]

Effect system plugin.

Effect system plugin.

Attributes

def withHandler(handler: RequestHandler[Effect, Context]): EndpointTransport[Effect, Context, Adapter]

Create a copy of this endpoint transport with specified RPC request handler.

Create a copy of this endpoint transport with specified RPC request handler.

Value parameters

handler

RPC request handler

Attributes

Returns

server transport