enum

Grip::ServerSent::Strategy

Inherits Enum / Comparable / Value / Object

Constants

DropOldest = 0

Drops the oldest un-flushed frame to make room for live real-time data (Default)

DropNewest = 1

Ignores incoming frames while the buffer is full until network capacity frees up

Block = 2

Blocks the calling fiber until room opens in the queue (Preserves strict ordering & delivery)

Instance methods

block?

Returns true if this enum value equals Block

Source
drop_newest?

Returns true if this enum value equals DropNewest

Source
drop_oldest?

Returns true if this enum value equals DropOldest

Source