module

ActionCable::ConnectionAPI

Seam implemented by the real connection layer (P0.5) and by test fakes — the same identifiers/transmit/pubsub surface the gem's own unit tests rely on.

Instance methods

identifiers
Source
pubsub
Source
subscribe_stream(stream : String, identifier : String) : Nil

Fast-path seam (P1.5): only reached when the pubsub adapter advertises fast_broadcasts? — implemented by the real connection.

Source
transmit(cable : Hash(String | Symbol, CableValue)) : Nil
Source
unsubscribe_stream(stream : String) : Nil
Source