TcpServerEvents
TcpServerEvents =
StreamServerEvents&object
Defined in: packages/node/src/net/tcp-server.ts:12
Event map for TcpServer.
Type Declaration
Section titled “Type Declaration”connection
Section titled “connection”connection: [
TcpSocket]
Emitted when a new connection is accepted.
drop: [
InetEndpoint|null,InetEndpoint|null]
Emitted when a connection is dropped because
StreamServer.maxConnections was reached. Each endpoint is null
when Node.js did not report it.