Preparing search index...
The search index is not available
@nats-io/nats-core
@nats-io/nats-core
MsgHdrsImpl
Class 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
?
,
description
?
)
:
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
[]
]
,
any
,
any
>
Returns
IterableIterator
<
[
string
,
string
[]
]
,
any
,
any
>
append
append
(
k
,
v
,
match
?
)
:
void
Parameters
k
:
string
v
:
string
match
:
Match
= Match.Exact
Returns
void
delete
delete
(
k
,
match
?
)
:
void
Parameters
k
:
string
match
:
Match
= Match.Exact
Returns
void
encode
encode
(
)
:
Uint8Array
Returns
Uint8Array
equals
equals
(
mh
)
:
boolean
Parameters
mh
:
MsgHdrsImpl
Returns
boolean
find
Keys
find
Keys
(
k
,
match
?
)
:
string
[]
Parameters
k
:
string
match
:
Match
= Match.Exact
Returns
string
[]
get
get
(
k
,
match
?
)
:
string
Parameters
k
:
string
match
:
Match
= Match.Exact
Returns
string
has
has
(
k
,
match
?
)
:
boolean
Parameters
k
:
string
match
:
Match
= Match.Exact
Returns
boolean
keys
keys
(
)
:
string
[]
Returns
string
[]
last
last
(
k
,
match
?
)
:
string
Parameters
k
:
string
match
:
Match
= Match.Exact
Returns
string
set
set
(
k
,
v
,
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 a string representation of an object.
Returns
string
values
values
(
k
,
match
?
)
:
string
[]
Parameters
k
:
string
match
:
Match
= Match.Exact
Returns
string
[]
Static
decode
decode
(
a
)
:
MsgHdrsImpl
Parameters
a
:
Uint8Array
Returns
MsgHdrsImpl
Static
from
Record
from
Record
(
r
)
:
MsgHdrs
Parameters
r
:
Record
<
string
,
string
[]
>
Returns
MsgHdrs
Static
valid
Header
Value
valid
Header
Value
(
k
)
:
string
Parameters
k
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
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
@nats-io/nats-core
Loading...
Returns a string representation of an object.