actix / actix/actix-web

extractor for all cookies

オープン
#2,575 コメント 7 件 リアクション 2 件 担当者 1 名 @Chaostheorie が担当を希望しています GitHub で見る
A-web C-feature
主要言語
Rust
スター
24.8k
フォーク
1.9k
平均マージ
23時間 10分
マージ済み PR(30日)
26

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。