1 | import { BaseRpcContext } from './base-rpc.context';
|
2 | type NatsContextArgs = [string, any];
|
3 | /**
|
4 | * @publicApi
|
5 | */
|
6 | export declare class NatsContext extends BaseRpcContext<NatsContextArgs> {
|
7 | constructor(args: NatsContextArgs);
|
8 | /**
|
9 | * Returns the name of the subject.
|
10 | */
|
11 | getSubject(): string;
|
12 | /**
|
13 | * Returns message headers (if exist).
|
14 | */
|
15 | getHeaders(): any;
|
16 | }
|
17 | export {};
|