Skip to content

Passing value from 'upgrade' to 'open' handler #322

Answered by PlainBane
PlainBane asked this question in Q&A
Discussion options

You must be logged in to vote

Found the answer. I'm blind.
res.upgrade({url: url, customValueHere }, secWebSocketKey, secWebSocketProtocol, secWebSocketExtensions, context);

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #322 on December 09, 2020 04:00.