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