Interface CloseServerOnMaxConnectionsOpts

Hierarchy

  • CloseServerOnMaxConnectionsOpts

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

onListenError?: ((err: Error) => void)

Type declaration

    • (err: Error): void
    • Parameters

      Returns void