extractor for all cookies
Aperta
A-web
C-feature
- Lingua principale
- Rust
- Stelle
- 24.8k
- Fork
- 1.9k
- Merge medio
- 23h 10m
- PR unite (30g)
- 26
Descrizione
### 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?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.