automorph.spi.ClientTransport
Client transport protocol plugin.
Enables RPC client to send requests and receive responses using specific transport protocol.
Passively sends requests and receives responses to and from a remote endpoint.
Type parameters
-
Context
-
RPC message context type
-
Effect
-
effect type
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Sends a request to a remote endpoint and retrieves the response.
Sends a request to a remote endpoint and retrieves the response.
An optional request context is used to supply additional information needed to send the request.
Value parameters
-
mediaType
-
message media (MIME) type.
-
requestBody
-
request message body
-
requestContext
-
request context
-
requestId
-
request correlation identifier
Attributes
-
Returns
-
response message and context
Closes this client transport freeing the underlying resources.
Closes this client transport freeing the underlying resources.
Attributes
-
Returns
-
nothing
Creates default request context based on the configuration of this client transport.
Creates default request context based on the configuration of this client transport.
Attributes
-
Returns
-
request context based on the configuration of this client transport
Initializes this client to invoke remote APIs.
Initializes this client to invoke remote APIs.
Attributes
-
Returns
-
active RPC server
Sends a request to a remote endpoint without waiting for a response.
Sends a request to a remote endpoint without waiting for a response.
An optional request context is used to supply additional information needed to send the request.
Value parameters
-
mediaType
-
message media (MIME) type.
-
requestBody
-
request message body
-
requestContext
-
request context
-
requestId
-
request correlation identifier
Attributes
-
Returns
-
nothing