Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTP request cookies to the WebSocket handshake info #26674

Conversation

sokomishalov
Copy link
Contributor

@sokomishalov sokomishalov commented Mar 14, 2021

It's quite difficult to access handshake cookies for now - we have to provide custom wrappers for handshake service and propagate them via attributes field.

P.S. maybe it also makes sense to provide the possibility of passing cookies via the websocket client explicitly. For now, the only possible way is to add them via HttpHeaders.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Mar 14, 2021
@rstoyanchev rstoyanchev self-assigned this Mar 15, 2021
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Mar 15, 2021
@rstoyanchev rstoyanchev added this to the 5.3.5 milestone Mar 15, 2021
rstoyanchev pushed a commit that referenced this pull request Mar 15, 2021
This was referenced Mar 16, 2021
This was referenced Mar 17, 2021
Zoran0104 pushed a commit to Zoran0104/spring-framework that referenced this pull request Aug 20, 2021
Zoran0104 pushed a commit to Zoran0104/spring-framework that referenced this pull request Aug 20, 2021
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this pull request Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this pull request Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants