actix / actix/actix-web

Add macro for route handler accepting all HTTP methods

未关闭
#3,263 14 条评论 0 个 reaction 已指派 1 人 已被 @sabinonweb 认领 在 GitHub 查看
A-web-codegen C-feature good-first-issue
主要语言
Rust
星标
24.8k
派生
1.9k
平均合并
23 小时 10 分钟
30 天内合并 PR
26

描述

As discussed in , implement macros like `#[any("...")]` and `#[route("...", method = any)]` to create route handlers accepting all HTTP methods (which is currently only possible with something like `app.route("...", web::route().to(handler))`)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。