method Server.prototype.close
Server.prototype.close(): voidImmediately close the server listeners and associated HTTP connections.
Throws a server closed error if called after the server has been closed.
Return Type
voidServer.prototype.close(): voidImmediately close the server listeners and associated HTTP connections.
Throws a server closed error if called after the server has been closed.
void