How to get url in open or message event in ws #452
Answered
by
ghost
robert-bitguild
asked this question in
Q&A
-
Hi, I can't get the ws url in open or message event. I think it should easy to fetch the url of ws like ws://localhost/abc?abc=xxxx app.ws('/*', {
// }); The req object in open event is always undefined. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
ghost
Feb 8, 2021
Replies: 1 comment
-
https://github.com/uNetworking/uWebSockets.js/blob/master/examples/Upgrade.js |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/uNetworking/uWebSockets.js/blob/master/examples/Upgrade.js