0

how to use/configure secured websocket (wss)?

asked 2021-03-25 10:55:31 +0800

wastemails gravatar image wastemails
130 1

updated 2021-03-25 10:55:44 +0800

Is there any way to used secured web socket protocol (wss) instead of plain websocket (ws) in zk

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-03-26 10:42:27 +0800

cor3000 gravatar image cor3000
5833 2 7
ZK Team

yes as soon as your application is using https:, websockets will also switch to the wss: protocol prefix automatically.

You can verify that yourself in our demo: https://www.zkoss.org/zkdemo/server_push/websocket

The websocket url used is:

wss://www.zkoss.org/zkdemo/zkwm?dtid=z_XXX

Based on that I am slightly surprised you're even asking. Is this automatic functionality not working on your side?

link publish delete flag offensive edit
0

answered 2021-03-30 23:03:19 +0800

wastemails gravatar image wastemails
130 1

Thankyou, found wss when using https.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2021-03-25 10:55:31 +0800

Seen: 9 times

Last updated: Mar 30

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More