UNPKG

@minimaltech/node-infra

Version:

Minimal Technology NodeJS Infrastructure - Loopback 4 Framework

7 lines (6 loc) 457 B
import { ServerOpts, Socket as SocketClient, Server as SocketServer } from 'node:net'; import { BaseNetworkTcpServer, ITcpSocketServerOptions } from './base-tcp-server.helper'; export declare class NetworkTcpServer extends BaseNetworkTcpServer<ServerOpts, SocketServer, SocketClient> { constructor(opts: Omit<ITcpSocketServerOptions, 'createServerFn'>); static newInstance(opts: Omit<ITcpSocketServerOptions, 'createServerFn'>): NetworkTcpServer; }