nx.js
NamespacesSwitchFunctions

listen

listen(opts): Server

Creates a TCP server bound to the specified port number.

Parameters

ParameterTypeDescription
optsListenOptionsObject containing the port number and other configuration properties.

Returns

Server

On this page