actix / actix/actix-web

extractor for all cookies

Abierto
#2,575 7 comentarios 2 reacciones 1 asignado Reclamado por @Chaostheorie Ver en GitHub
A-web C-feature
Lenguaje dominante
Rust
Estrellas
24.8k
Forks
1.9k
Merge medio
23 h 10 min
PR fusionados (30 d)
26

Descripción

### 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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.