1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-12 10:19:36 +00:00
actix-web/actix-web/src
Roland Fredenhagen 8759d79b03
routes macro allowing multiple paths per handler (#2718)
* WIP: basic implementation for `routes` macro

* chore: changelog, docs, tests

* error on missing methods

* Apply suggestions from code review

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>

* update test stderr expectation

* add additional tests

* fix stderr output

* remove useless ResourceType

this is dead code from back when .to and .to_async were different ways to add a service

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-04 04:31:49 +00:00
..
error Implement ResponseError for Infallible (#2769) 2022-05-30 20:52:48 +01:00
http move blocking error to web (#2660) 2022-02-22 08:45:28 +00:00
middleware retain previously set vary headers when using compress (#2798) 2022-06-30 09:19:16 +01:00
response Fix common grammar mistakes and add small documentation for AppConfig's Default implementation (#2793) 2022-06-25 14:01:06 +00:00
test clear conn_data on HttpRequest drop (#2742) 2022-04-23 13:35:41 +01:00
types address clippy lints 2022-06-27 03:12:36 +01:00
app.rs Fix common grammar mistakes and add small documentation for AppConfig's Default implementation (#2793) 2022-06-25 14:01:06 +00:00
app_service.rs Fix common grammar mistakes and add small documentation for AppConfig's Default implementation (#2793) 2022-06-25 14:01:06 +00:00
config.rs Fix common grammar mistakes and add small documentation for AppConfig's Default implementation (#2793) 2022-06-25 14:01:06 +00:00
data.rs update migration guide 2022-03-26 13:26:12 +00:00
dev.rs prepare releases: actix-http 3.0.0 and actix-web 4.0.0 (#2663) 2022-02-25 18:46:35 +00:00
extract.rs Improve documentation for FromRequest::Future (#2734) 2022-04-23 20:57:11 +00:00
guard.rs Fix common grammar mistakes and add small documentation for AppConfig's Default implementation (#2793) 2022-06-25 14:01:06 +00:00
handler.rs Fix common grammar mistakes and add small documentation for AppConfig's Default implementation (#2793) 2022-06-25 14:01:06 +00:00
helpers.rs move actix-web to own dir 2022-02-01 00:30:41 +00:00
info.rs clippy 2022-03-02 03:25:30 +00:00
lib.rs routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
request.rs clear conn_data on HttpRequest drop (#2742) 2022-04-23 13:35:41 +01:00
request_data.rs move actix-web to own dir 2022-02-01 00:30:41 +00:00
resource.rs remove useless doctest main fns 2022-02-22 12:32:06 +00:00
rmap.rs clippy 2022-03-02 03:25:30 +00:00
route.rs add Route::wrap (#2725) 2022-04-23 21:01:55 +01:00
rt.rs fix doc tests 2022-02-08 12:25:13 +00:00
scope.rs Add ServiceConfig::default_service (#2743) 2022-04-23 22:11:45 +01:00
server.rs Expose option for setting TLS handshake timeout (#2752) 2022-06-27 02:57:21 +00:00
service.rs Add getters for &ServiceRequest (#2786) 2022-06-22 21:02:03 +01:00
web.rs prepare releases: actix-http 3.0.0 and actix-web 4.0.0 (#2663) 2022-02-25 18:46:35 +00:00