TcpServerConstructor
Nodepod API / src / net / TcpServerConstructor
Interface: TcpServerConstructor()
Section titled “Interface: TcpServerConstructor()”Defined in: src/polyfills/net.ts:208
TcpServerConstructor(
this,cfgOrHandler?,handler?):void
Defined in: src/polyfills/net.ts:210
Parameters
Section titled “Parameters”any
cfgOrHandler?
Section titled “cfgOrHandler?”ServerConfig | ((sock) => void)
handler?
Section titled “handler?”(sock) => void
Returns
Section titled “Returns”void
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TcpServerConstructor(
cfgOrHandler?,handler?):TcpServer
Defined in: src/polyfills/net.ts:209
Parameters
Section titled “Parameters”cfgOrHandler?
Section titled “cfgOrHandler?”ServerConfig | ((sock) => void)
handler?
Section titled “handler?”(sock) => void
Returns
Section titled “Returns”Properties
Section titled “Properties”prototype
Section titled “prototype”prototype:
any
Defined in: src/polyfills/net.ts:211