socket.io-client-cpp
socket.io-client-cpp copied to clipboard
Is there any way to set IO.Options??
Hello,
Is there any way to set IO.Options?? When I developed on iOS or Android, I set options like this.
val option: IO.Options = IO.Options()
option.forceNew = true
option.reconnection = true
option.transports = arrayOf("websocket", "polling")
option.rememberUpgrade = false
socket = IO.socket(endpoint, option)
I think not implemented yet. Is there anyway to set?
Thank you
Everything is documented in the API here: https://github.com/socketio/socket.io-client-cpp/blob/master/API.md
For example, reconnection options are here: https://github.com/socketio/socket.io-client-cpp/blob/master/API.md#transparent-reconnecting
I read the document , but not find any way to set transport options such as option.transports = arrayOf("websocket", "polling")
Everything is documented in the API here: https://github.com/socketio/socket.io-client-cpp/blob/master/API.md
For example, reconnection options are here: https://github.com/socketio/socket.io-client-cpp/blob/master/API.md#transparent-reconnecting
According to #71 and #91, it does not look as though this project supports polling, just websockets.