struct
Sparoid::Message
- Sparoid::Message
- Struct
- Value
- Object
Defined in:
message.crConstant Summary
-
VERSION =
1
Constructors
- .from_io(io : IO, format : IO::ByteFormat) : Message
- .from_ip(ip : String) : Message
- .new(ts : Int64, nounce : StaticArray(UInt8, 16), ip : Bytes)
- .new(ip : Bytes)
Instance Method Summary
- #family : Socket::Family
- #ip : Bytes
- #ip_string : String
- #nounce : StaticArray(UInt8, 16)
- #to_slice(format : IO::ByteFormat) : Bytes
- #ts : Int64