extractor for all cookies
Đang mở
A-web
C-feature
- Ngôn ngữ chính
- Rust
- Star
- 24.8k
- Fork
- 1.9k
- Merge trung bình
- 23 giờ 10 phút
- Pull request đã merge (30 ngày)
- 26
Mô tả
### Proposal
An `AllCookies` extractor that can be used in guards.
### Discussed in https://github.com/actix/actix-web/discussions/2504
Originally posted by **ModProg** December 11, 2021
I know that I can parse them manually, but my question is, is there a convenience method like `HttpRequest::cookie(&str)`, to get them from `RequestHead` in a guard?
And if not, would that be something to consider adding, maybe in a trait both implement?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.