struct Minion::Frame

Defined in:

minion/frame.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(verb : String | Symbol, uuid : UUID = UUID.new, data : PayloadType = [] of String) #

[View source]
def self.new(verb : String | Symbol, uuid : String, data : PayloadType = [] of String) #

[View source]
def self.new(tuple : Tuple(String, String, PayloadType)) #

[View source]

Class Method Detail

def self.from_msgpack(buffer : Slice(UInt8)) #

[View source]
def self.inflate(tup : Tuple(String, String, PayloadType)) #

[View source]

Instance Method Detail

def data : Array(Array(String) | String) | Array(String) #

[View source]
def data=(data : Array(Array(String) | String) | Array(String)) #

[View source]
def symbol_to_string(verb) #

[View source]
def to_msgpack #

[View source]
def uuid : Minion::UUID | String #

[View source]
def uuid=(uuid : Minion::UUID | String) #

[View source]
def verb : String #

[View source]
def verb=(verb : String) #

[View source]