JavaScript Is it possible to force socket.io to use wss instead of ws, without having to change to https?

I have been trying to setup a server where users can send sign in using websockets, but I don't want to do this using ws. I want to be able turn on wss without having https. Sadly, there aren't any options to do this. And so the question is how would one do this on the client side without using https protocol.

Answer:1

I have 2 select menus on my form: Type and Category. When a user selects something from the Type menu I want it to then perform a PHP script which queries a database and returns a list of matching ...

I have 2 select menus on my form: Type and Category. When a user selects something from the Type menu I want it to then perform a PHP script which queries a database and returns a list of matching ...

<form id="participantsForGd"> <span id="GroupID"></span> //in here group id is coming example: 2 <button id="GdStartTest">Start test</button> </form> I want to ...

<form id="participantsForGd"> <span id="GroupID"></span> //in here group id is coming example: 2 <button id="GdStartTest">Start test</button> </form> I want to ...

I want to find last descendent div of the html below. I tried but it finds the first occurrence of the div. How can I achieve this? HTML: <div class='greatparent'> <div> <div&...

I want to find last descendent div of the html below. I tried but it finds the first occurrence of the div. How can I achieve this? HTML: <div class='greatparent'> <div> <div&...

I am trying to take what a user enters in a textbox, and then write that input to a paragraph on the page, and stop the page refreshing so that they can then copy that input for use elsewhere. (it'...

I am trying to take what a user enters in a textbox, and then write that input to a paragraph on the page, and stop the page refreshing so that they can then copy that input for use elsewhere. (it'...

  1. html javascript display none
  2. html javascript display text
  3. html javascript display
  4. html javascript display all images in a folder
  5. html javascript display image
  6. html javascript display variable
  7. html javascript display date and time
  8. html javascript display block
  9. html javascript display json
  10. html javascript display running time
  11. html javascript display pdf
  12. html javascript display message
  13. html javascript display current time
  14. html javascript display current date
  15. html javascript display date
  16. html javascript display array
  17. html display javascript object
  18. html display javascript function output
  19. html display javascript variable value
  20. html display javascript return value