How could I get headers of WebSocketUpgrade? #285
-
I want to valid http headers before upgrading. |
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Aug 28, 2021
Replies: 1 comment
-
Yes. You can use HeaderMap as an extractor, or use TypedHeader to get just the headers you need. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
davidpdrsn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. You can use HeaderMap as an extractor, or use TypedHeader to get just the headers you need.