Skip to content
New issue

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

Macros for endpoint handler function ergonomics #1

Open
mnpw opened this issue Jun 14, 2022 · 0 comments
Open

Macros for endpoint handler function ergonomics #1

mnpw opened this issue Jun 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mnpw
Copy link
Owner

mnpw commented Jun 14, 2022

Something like #[get("/hello/{name}")] or #[endpoint { method = GET, path = "/counter", }] so that it is easy to register handlers.

See dropshot_endpoint for implementation details

@mnpw mnpw added the enhancement New feature or request label Jun 14, 2022
@mnpw mnpw moved this to 🆕 New in webserver-rs Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🆕 To do
Development

No branches or pull requests

1 participant