naderio / nativescript-socket.io

Fully-featured Socket.IO client implementation for NativeScript
The Unlicense
48 stars 21 forks source link

Does this plugin support transport mode websocket? #34

Closed shiv19 closed 6 years ago

shiv19 commented 7 years ago

According to an article I was reading, socket.io tries to upgrade to websocket connection, whenever it is available. I was not able to see any upgrade request going form this plugin..

Does this plugin support websocket transport mode for socket.io ?

naderio commented 6 years ago

@shiv19 to my understanding, mobile native implementations do not behave like web implementation, instead they try to connect directly with WebSocket, otherwise fall back to HTTP this plugin doesn't do anything special regarding this matter.

shiv19 commented 6 years ago

Thanks @naderio Currently I'm using transport mode set to web sockets. and it works fine.