1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

add method to extract matched resource name (#1577)

Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
Takashi Idobe
2020-06-27 11:22:16 -04:00
committed by GitHub
parent 487f90be5b
commit 23c8191cca
4 changed files with 99 additions and 1 deletions

View File

@ -7,6 +7,7 @@
* Re-export `actix_rt::main` as `actix_web::main`.
* `HttpRequest::match_pattern` and `ServiceRequest::match_pattern` for extracting the matched
resource pattern.
* `HttpRequest::match_name` and `ServiceRequest::match_name` for extracting matched resource name.
### Changed