We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At the moment, it is possible to define routers which then are given to the HTTP server. The router definition looks like
let site_router = Sihl.Web.Http.router ~middlewares:(Middleware.site ()) ~scope:"/" [ list_todos; add_todos; do_todos ] ;;
.
It should be possible to nest routers. This is something that Opium should support, so consider opening a PR after testing the solution.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At the moment, it is possible to define routers which then are given to the HTTP server. The router definition looks like
.
It should be possible to nest routers. This is something that Opium should support, so consider opening a PR after testing the solution.
The text was updated successfully, but these errors were encountered: