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