0

I'm using Starscream Web Socket library. To create web socket I have url starting with HTTPS. But Starscream uses "ws & wss" protocols for sockets. How do I resolve this issue? Mostly socket url starts with ws or wss. But URL I have is looks like

https://example.com:8034/socket.io/socket.io.js

I want to set this url as Socket url. But don't know how?

Dipak iOS
  • 1
  • 1
  • see this example https://stackoverflow.com/questions/48353856/how-to-connect-to-websocket-using-starscream – AMIT Mar 06 '20 at 07:54
  • @DipakiOS please share more about your question. What have you tried before? And maybe you want to check this out -> https://developerinsider.co/difference-between-http-and-http-2-0-websocket/ – emrcftci Mar 06 '20 at 08:01

0 Answers0