1 | import { TcpSocket } from '../helpers';
|
2 | import { BaseRpcContext } from './base-rpc.context';
|
3 | type TcpContextArgs = [TcpSocket, string];
|
4 | /**
|
5 | * @publicApi
|
6 | */
|
7 | export declare class TcpContext extends BaseRpcContext<TcpContextArgs> {
|
8 | constructor(args: TcpContextArgs);
|
9 | /**
|
10 | * Returns the underlying JSON socket.
|
11 | */
|
12 | getSocketRef(): TcpSocket;
|
13 | /**
|
14 | * Returns the name of the pattern.
|
15 | */
|
16 | getPattern(): string;
|
17 | }
|
18 | export {};
|