nerzh / Action-Cable-Swift

ActionCable is a WebSocket server being released with Rails 5 which makes it easy to add real-time features to your app. This Swift client inspired by "Swift-ActionCableClient", but it not support now and I created Action-Cable-Swift. Also web sockets are now separate from the client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The `send message` action is not working.

gevorgyanvahagn opened this issue · comments

here is an example of generated message which can't be parsed by server,

"{\"identifier\":\"{\\\"channel\\\":\\\"LivestreamChatsChannel\\\",\\\"livestream_id\\\":12}\",\"command\":\"message\",\"data\":\"{\\\"content\\\":\\\"hello!\\\",\\\"action\\\":\\\"chat\\\"}\"}"

the issue is I don't receive the message back

commented

the point is that the error can be both on the server side and on the client side. Describe what exactly is your problem ?
it seems to me that you have a server side problem