struct Nats::ConnectResponse
- Nats::ConnectResponse
- Struct
- Value
- Object
Included Modules
Defined in:
protobufs/protocol.pb.crConstant Summary
-
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 Method Summary
Instance Method Summary
- #[](key : String)
- #close_requests : String | Nil
- #close_requests=(close_requests : String | Nil)
- #error : String | Nil
- #error=(error : String | Nil)
- #ping_interval : Int32 | Nil
- #ping_interval=(ping_interval : Int32 | Nil)
- #ping_max_out : Int32 | Nil
- #ping_max_out=(ping_max_out : Int32 | Nil)
- #ping_requests : String | Nil
- #ping_requests=(ping_requests : String | Nil)
- #protocol : Int32 | Nil
- #protocol=(protocol : Int32 | Nil)
- #pub_prefix : String | Nil
- #pub_prefix=(pub_prefix : String | Nil)
- #public_key : String | Nil
- #public_key=(public_key : String | Nil)
- #sub_close_requests : String | Nil
- #sub_close_requests=(sub_close_requests : String | Nil)
- #sub_requests : String | Nil
- #sub_requests=(sub_requests : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #unsub_requests : String | Nil
- #unsub_requests=(unsub_requests : String | Nil)
Instance methods inherited from module Protobuf::Message
to_slice : Bytes
to_slice
Constructor Detail
def self.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)
#