UNPKG
@yepmind/nats-rx-client
Version:
latest (1.0.1)
1.0.1
1.0.0
yepmind.dev
@yepmind/nats-rx-client
/
dist
/
nats-message-request.d.ts
13 lines
(12 loc)
•
287 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{
Msg
}
from
'nats'
;
export
declare
class
NatsMessageRequest
{
private
message;
private
readonly
jsonCodec;
constructor
(
message
:
Msg
);
get
data
(): {
cmd
:
string
;
payload
:
any
; };
get
subject
():
string
;
respond
(
payload
:
any
):
boolean
; }