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
Need to be able to support any number of methods, or all.
Custom methods too. Maybe we can create a quick path for standard methods, then custom methods can use a seperate path?
So our search should be able to handle:
For method routing specifically, we need to support the "Method Not Supported" response too.
We'll want to abstract over data storage - e.g. data can be stored inline as T/Arc at any layer.
Do we want to support route without a path? Yes - why not.
Annoying that http::Request isn't no_std compatible. UPDATE: Well now it is: https://github.com/DuskSystems/http
http::Request
Conflict handling may be tricky.
Should update the GitLab examples to use method.
let mut router = Router::new(); router.path.constraint::<C>(); let route = Routable::builder() // or: .methods(vec![..]) .method(Method::GET) .method(Method::HEAD) .route("/users/{id}") .build(); router.insert(route, handle_users_by_id)?;
Before we tackle this - we should:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Need to be able to support any number of methods, or all.
Custom methods too.
Maybe we can create a quick path for standard methods, then custom methods can use a seperate path?
So our search should be able to handle:
For method routing specifically, we need to support the "Method Not Supported" response too.
We'll want to abstract over data storage - e.g. data can be stored inline as T/Arc at any layer.
Do we want to support route without a path?
Yes - why not.
Annoying that
http::Request
isn't no_std compatible.UPDATE: Well now it is: https://github.com/DuskSystems/http
Conflict handling may be tricky.
Should update the GitLab examples to use method.
Before we tackle this - we should:
The text was updated successfully, but these errors were encountered: