struct Nats::Ping

Included Modules

Defined in:

protobufs/protocol.pb.cr

Constant Summary

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

Class Method Summary

Instance Method Summary

Instance methods inherited from module Protobuf::Message

to_slice : Bytes to_slice

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(conn_id : Slice(UInt8) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def conn_id : Slice(UInt8) | Nil #

def conn_id=(conn_id : Slice(UInt8) | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #