ServiceRoutes

class ServiceRoutes(val handlers: List<ServiceRouteHandler> = emptyList(), val authorizers: List<ServiceRouteAuthorizer> = emptyList(), val commands: CommandClient? = null, val queries: QueryApi? = null)

The service routes a node serves: the handlers the modules' model providers bind, the authorizers every call passes, and the commands a handler sends and the queries it runs as its caller.

Constructors

Link copied to clipboard
constructor(handlers: List<ServiceRouteHandler> = emptyList(), authorizers: List<ServiceRouteAuthorizer> = emptyList(), commands: CommandClient? = null, queries: QueryApi? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

The handler of each of manifest's service routes, by context and name; an IllegalStateException naming every route without a handler and every handler without a route, so a node whose Manifest and bindings disagree does not start.