Status: "initializing" | "starting" | "listening" | "closing" | "closed"

Status of a server.

Description

initializing: The server is initializing, but is not yet listening. This allows you to configure callbacks for the server before it starts listening.

Description

starting: The listen method of the server has been invoked, but the server is not yet listening.

Description

listing: The server is listening for new connections.

Description

closing: The close method of the server has been invoked, but the server has not yet closed.

Description

closed: The server has closed.