Nats::Ping
Inherits Protobuf::Message < Struct < Value < Object
Constants
FIELDS = {1 => {name: :conn_id, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
new(buf : Protobuf::Buffer)
new(conn_id : Slice(UInt8) | Nil = nil)
Class methods
from_protobuf(io)
Instance methods
[](key : String)
conn_id
conn_id=(conn_id : Slice(UInt8) | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf