socketio / socket.io-admin-ui

Admin UI for Socket.IO
https://admin.socket.io
MIT License
358 stars 95 forks source link

added transports option on client connection #4

Closed AtillaPehlivan closed 3 years ago

AtillaPehlivan commented 3 years ago

hi, my socket.io server transport option is "websocket" so i can not connect on admin-ui

i added the 2 option to connection params

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/socketio/socket-io-admin-ui/FUFaAm8VtKbdfoZA5KUBKB5qK3vc
✅ Preview: https://socket-io-admin-ui-git-fork-atillapehlivan-main-socketio1.vercel.app

darrachequesne commented 3 years ago

Hi! That's indeed a known issue of the client: https://github.com/socketio/socket.io/issues/5090

I'd rather not merge this though, as it disables the HTTP long-polling transport completely.

darrachequesne commented 3 years ago

You can now create a WebSocket-only connection:

screenshot