You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the demo given by websocket, the ws open link starts with "http://xxx", and then connect in the way of Upgrade! ! Now the project needs to be compatible with the mobile app and needs the "ws://xxx" style. How can I change it? please help me
The text was updated successfully, but these errors were encountered:
Hello @yunxiangtc, could you please give me more information, I didn't get it, code always speaks by itself, show me what you want from iris/neffos to do.
iris-demo use websocket like this:”http://local host:80/api” send connect,
but in my project need: ws://local host:80/api, and need reuseport,help me ,please!
Let me explain, you will always need to register a route on your http web server, the websocket protocol is a sub-protocol of http. You connect through ws:// (or wss:// in tls mode) but the request first fires as http, then server replies with an upgrade response and asks the client to continue the communication using websocket.
Please show me a code snippet of your problem so I can be more helpful.
Great writer kataras :
In the demo given by websocket, the ws open link starts with "http://xxx", and then connect in the way of Upgrade! ! Now the project needs to be compatible with the mobile app and needs the "ws://xxx" style. How can I change it? please help me
The text was updated successfully, but these errors were encountered: