Define mappings from an HTTP request to a controller method which has the Endpoint annotation
Create the terminal request handler for processing a method with @EndPoint annotation.
A mapping from an HTTP endpoint to a corresponding method (or function)
Find a matching route (RouteMatch) from a given HttpRequest
Create a filter for dispatching HTTP requests to controller methods with @Endpoint or @RPC annotation
Mapping HTTP requests to RPC/Endpoint method call arguments.
Mapping HTTP requests to RPC/Endpoint method call arguments.
http request (path parameters, query parameters, request body (json or msgpack data)) -> rpc function call arguments (p1:t1, p2:t2, ...)
Macros for creating a trait factory (Session => A) so that we can register the factory upon defining Route.of[A].
Macros for creating a trait factory (Session => A) so that we can register the factory upon defining Route.of[A].
So once you register a route for A, you don't need to call bind[A].toSingleton, etc.
Create the terminal request handler for processing a method with @EndPoint annotation.
This handler will call a controller method with the request parameters build from the method arguments.