struct

Nats::ConnectResponse

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :pub_prefix, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :sub_requests, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :unsub_requests, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :close_requests, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :error, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :sub_close_requests, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :ping_requests, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :ping_interval, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :ping_max_out, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :protocol, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 100 => {name: :public_key, 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(pub_prefix : String | Nil = nil, sub_requests : String | Nil = nil, unsub_requests : String | Nil = nil, close_requests : String | Nil = nil, error : String | Nil = nil, sub_close_requests : String | Nil = nil, ping_requests : String | Nil = nil, ping_interval : Int32 | Nil = nil, ping_max_out : Int32 | Nil = nil, protocol : Int32 | Nil = nil, public_key : String | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
close_requests
close_requests=(close_requests : String | Nil)
error
error=(error : String | Nil)
ping_interval
ping_interval=(ping_interval : Int32 | Nil)
ping_max_out
ping_max_out=(ping_max_out : Int32 | Nil)
ping_requests
ping_requests=(ping_requests : String | Nil)
protocol
protocol=(protocol : Int32 | Nil)
pub_prefix
pub_prefix=(pub_prefix : String | Nil)
public_key
public_key=(public_key : String | Nil)
sub_close_requests
sub_close_requests=(sub_close_requests : String | Nil)
sub_requests
sub_requests=(sub_requests : String | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf
unsub_requests
unsub_requests=(unsub_requests : String | Nil)