class Cryap::API::Streaming::StreamingConnection

Defined in:

modules/api/streaming/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(categories : Set(StreamingCategory), account_id : KSUID | Nil) #

Instance Method Detail

def account_id : KSUID | Nil #

def categories : Set(StreamingCategory) #

def categories=(categories : Set(StreamingCategory)) #

def close #

def id : KSUID #

def receive : StreamingEvent #

def receive? : StreamingEvent | Nil #

def send(event : StreamingEvent) #