Interface CloseServerOnMaxConnectionsOpts

interface CloseServerOnMaxConnectionsOpts {
    closeAbove: number;
    listenBelow: number;
    onListenError?(err): void;
}

Properties

closeAbove: number

Close server once connection count is greater than or equal to closeAbove

listenBelow: number

Server listens once connection count is less than listenBelow

Methods