Enumeration of events emitted by the Server
objects
Static variables
staticinlineread onlyClose:ServerEvent<() ‑> Void> = "close"
Emitted when the server closes. Note that if connections exist, this event is not emitted until all connections are ended.
staticinlineread onlyConnection:ServerEvent<Socket ‑> Void> = "connection"
Emitted when a new connection is made.
staticinlineread onlyError:ServerEvent<Error ‑> Void> = "error"
Emitted when an error occurs. The 'close' event will be called directly following this event. See example in discussion of server.listen.
staticinlineread onlyListening:ServerEvent<() ‑> Void> = "listening"
Emitted when the server has been bound after calling Server.listen
.