automorph.spi.RequestHandler
See theRequestHandler companion object
RPC request handler.
Processes remote API requests and invoke bound API methods.
Type parameters
-
Context
-
RPC message context type
-
Effect
-
effect type
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Enable or disable automatic provision of service discovery via RPC functions returning bound API schema.
Enable or disable automatic provision of service discovery via RPC functions returning bound API schema.
Value parameters
-
discovery
-
service discovery enabled
Attributes
-
Returns
-
RPC request handler
- Automatic provision of service discovery via RPC functions returning bound API schema.
Attributes
Processes an RPC request by invoking a bound remote function based on the specified RPC request along with request context and return an RPC response.
Processes an RPC request by invoking a bound remote function based on the specified RPC request along with request context and return an RPC response.
Value parameters
-
context
-
request context
-
id
-
request correlation identifier included in logs associated with the request
-
requestBody
-
request message body
Attributes
-
Returns
-
request processing result