actioncable_dart
actioncable_dart copied to clipboard
actioncable client in dart, for pure dart or flutter project
original typdef expecting Map datastructure but can be string.
Getting **Connection to 'https://abc.example.com:0/cable#' was not upgraded to websocket** (url changed) issue while using '**wss://abc.example.com/cable/**' Rails version : 5.2.4 Ruby version : 2.4.9 Phusion Passenger : 6.0.6
This package uses IOWebSocketChannel, which unfortunately does not work with web. (The exception "Unsupported operation: Platform._version" gets thrown. The workaround is to use WebSocketChannel which then determines whether to use...
Hello! Can you change Copyright notice in your MIT License from "Copyright (c) 2019 https://github.com/namiwang/actioncable_dart" to "Copyright (c) 2019 Nami Wang", bacause link on your GitHub can be changed in...
This pull request properly handles disconnect when action cable server rejects the connection. It also uses local time for ping instead of server time since they can be out of...
I only allow authorized users to connect ActionCable, if the user is unauthorized I call reject_unauthorized_connection from Rails. This sends a response { "type": "disconnect", "reason": "unauthorized", "reconnect": false }...
added the ability to change the connection time out duration if needed
So, after the last update all my connections on Android started dropping. Dug into it, and it was happening after the first ping like clockwork. It looks like the issue...
I was surprised that this isn't the default behavior, but I think it makes sense that you would want to call these when purposefully calling the ActionCable disconnect method.
hello guys, i'm able to subsribe to channel, unsubscribe and send message. But it never trigger onMessage method. The message is created on server side. Log shows that the message...