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

made possible to append extra response http headers in PerformServerUpgrade stage #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lifeengines
Copy link

made response header ended up before OnWsConnecting so we can append extra handshake header to response

made response header ended up before OnWsConnecting so we can append extra handshake header to response
@lifeengines
Copy link
Author

some websocket protocol has extra handshake headers,we need deal with append some extra response http headers in PerformServerUpgrade stage,but currentlly netcoreserver don't has a mechanism to do this,so we can adjust SetBody in PerformServerUpgrade to after OnWsConnecting so can be made possible append extra http header in OnWsConnecting event.

@lifeengines lifeengines changed the title Update WebSocket.cs made possible to append extra response http headers in PerformServerUpgrade stage Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant