arouter.pl | ||
---|---|---|
new_route/3 | Registers a new method-specific route handler. | |
new_route/4 | Registers a new method-specific route handler. | |
path_to_route/2 | Turns path atom like '/path/to/something' into a Prolog term path/to/something. | |
route/1 | Routes the request into an handler. | |
route/4 | Retrieves currently registered routes. | |
route_del/2 | Registers a new DELETE route handler. | |
route_del/3 | Registers a new DELETE route handler. | |
route_get/2 | Registers a new GET route handler. | |
route_get/3 | Registers a new GET route handler. | |
route_post/2 | Registers a new POST route handler. | |
route_post/3 | Registers a new POST route handler. | |
route_put/2 | Registers a new PUT route handler. | |
route_put/3 | Registers a new PUT route handler. | |
route_remove/2 | Removes the given route. |