Preparing search index...
The search index is not available
nats-base-library
nats-base-library
MsgHdrsImpl
Class MsgHdrsImpl
Hierarchy
MsgHdrsImpl
Implements
MsgHdrs
Index
Constructors
constructor
Properties
_code
_description
headers
Accessors
code
description
has
Error
status
Methods
[iterator]
append
delete
encode
equals
find
Keys
get
has
keys
last
set
size
to
Record
to
String
values
decode
from
Record
valid
Header
Value
Constructors
constructor
new
Msg
Hdrs
Impl
(
code
?:
number
, description
?:
string
)
:
MsgHdrsImpl
Parameters
code:
number
= 0
description:
string
= ""
Returns
MsgHdrsImpl
Properties
_code
_code
:
number
_description
_description
:
string
headers
headers
:
Map
<
string
,
string
[]
>
Accessors
code
get
code
(
)
:
number
Returns
number
description
get
description
(
)
:
string
Returns
string
has
Error
get
hasError
(
)
:
boolean
Returns
boolean
status
get
status
(
)
:
string
Returns
string
Methods
[iterator]
[iterator]
(
)
:
IterableIterator
<
[
string
,
string
[]
]
>
Returns
IterableIterator
<
[
string
,
string
[]
]
>
append
append
(
k
:
string
, v
:
string
, match
?:
Match
)
:
void
Parameters
k:
string
v:
string
match:
Match
= Match.Exact
Returns
void
delete
delete
(
k
:
string
, match
?:
Match
)
:
void
Parameters
k:
string
match:
Match
= Match.Exact
Returns
void
encode
encode
(
)
:
Uint8Array
Returns
Uint8Array
equals
equals
(
mh
:
MsgHdrsImpl
)
:
boolean
Parameters
mh:
MsgHdrsImpl
Returns
boolean
find
Keys
find
Keys
(
k
:
string
, match
?:
Match
)
:
string
[]
Parameters
k:
string
match:
Match
= Match.Exact
Returns
string
[]
get
get
(
k
:
string
, match
?:
Match
)
:
string
Parameters
k:
string
match:
Match
= Match.Exact
Returns
string
has
has
(
k
:
string
, match
?:
Match
)
:
boolean
Parameters
k:
string
match:
Match
= Match.Exact
Returns
boolean
keys
keys
(
)
:
string
[]
Returns
string
[]
last
last
(
k
:
string
, match
?:
Match
)
:
string
Parameters
k:
string
match:
Match
= Match.Exact
Returns
string
set
set
(
k
:
string
, v
:
string
, match
?:
Match
)
:
void
Parameters
k:
string
v:
string
match:
Match
= Match.Exact
Returns
void
size
size
(
)
:
number
Returns
number
to
Record
to
Record
(
)
:
Record
<
string
,
string
[]
>
Returns
Record
<
string
,
string
[]
>
to
String
to
String
(
)
:
string
Returns
string
values
values
(
k
:
string
, match
?:
Match
)
:
string
[]
Parameters
k:
string
match:
Match
= Match.Exact
Returns
string
[]
Static
decode
decode
(
a
:
Uint8Array
)
:
MsgHdrsImpl
Parameters
a:
Uint8Array
Returns
MsgHdrsImpl
Static
from
Record
from
Record
(
r
:
Record
<
string
,
string
[]
>
)
:
MsgHdrs
Parameters
r:
Record
<
string
,
string
[]
>
Returns
MsgHdrs
Static
valid
Header
Value
valid
Header
Value
(
k
:
string
)
:
string
Parameters
k:
string
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
nats-
base-
library
Msg
Hdrs
Impl
constructor
_code
_description
headers
code
description
has
Error
status
[iterator]
append
delete
encode
equals
find
Keys
get
has
keys
last
set
size
to
Record
to
String
values
decode
from
Record
valid
Header
Value
Generated using
TypeDoc