ServiceRouteHandler
interface ServiceRouteHandler
The handler of one service route: the binding the compiler generates for a @ServiceRoute function, named as the Manifest names the route (context, name). The edge mounts it at the route the Manifest lists, admits the call, and asks it to handle the request.
Properties
Functions
Link copied to clipboard
Calls the route's function with the parameters request reads, as call; its answer, Unit for none. A parameter that does not read as its type fails with MalformedRouteRequestException.