cable-cr / cable

It's like ActionCable (100% compatible with JS Client), but you know, for Crystal
MIT License
128 stars 12 forks source link

Why do we send a message that says ping instead of a ping? #64

Closed jwoertink closed 1 year ago

jwoertink commented 1 year ago

https://github.com/cable-cr/cable/blob/e725d9e4c5f638a7d26092256377aa8ad618a173/src/cable/websocket_pinger.cr#L29

instead of @socket.ping(Time.utc.to_unix.to_s)?

@mjeffrey18 would you happen to know?

fernandes commented 1 year ago

@jwoertink mostly to keep the same as rails ~ping~ beat command