ActionCable::CorkWriter
Constants
MAX_BUFFER = 1048576
Constructors
Class methods
Instance methods
buffered_amount
SourceBuffers an already-encoded frame (see .text_frame) — encode-once fan-out: the same bytes go to every socket.
dropped_messages
flush
Writes out buffered frames synchronously — used before a WS close handshake (remote disconnect) so the disconnect frame precedes the close frame on the wire.