Skip to content

Add macro for route handler accepting all HTTP methods #3263

Open
@tp971

Description

@tp971

As discussed in #3259, 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)))

Metadata

Metadata

Assignees

Labels

A-codegenproject: actix-web-codegenC-featureCategory: new functionalitygood-first-issueeasy to pick up for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions