struct

Minion::Frame

Inherits Struct < Value < Object

Represents a chunk of data to be transmitted, or that has been received.

Verbs: L -- log C - Command R - Response T - Telemetry Q - Query Key/Value Store S - Set Key/Value

Constructors

new(verb : String | Symbol, uuid : UUID = UUID.new, data : Array(String) = [] of String)
Source
new(verb : String | Symbol, uuid : String, data : Array(String) = [] of String)
Source
new(tuple : Tuple(String, String, Array(String)))
Source

Class methods

from_msgpack(buffer : Slice(UInt8))
Source
inflate(tup : Tuple(String, String, Array(String)))
Source

Instance methods

data
Source
data=(data : Array(String))
Source
symbol_to_string(verb)
Source
to_msgpack
Source
uuid
Source
uuid=(uuid : Minion::UUID | String)
Source
verb
Source
verb=(verb : String)
Source