Next: , Previous: , Up: Server endpoints   [Contents][Index]


12.2 Router endpoint

The first non-trivial handler is for the router endpoint, defined in (webid-oidc server endpoint).

Class: <router> (<endpoint>) routed

The router has a list of endpoints, and chooses which one will handle an incoming request based on the request fields. The routed endpoints is a list of endpoints. You can set it at construction time with #:routed.

The router will check if the routed endpoints are relevant, in turn, or return a 404 Not Found response if no endpoint is relevant.

Generic: routed router

Return the list of endpoints for router.