Lines Matching defs:Server
214 * @returns {Server}
218 return new Server(options, connectionListener);
278 // Server.prototype.listen(). Possible combinations of parameters:
283 // For Server.prototype.listen(), the [...] part is [, backlog]
1652 function Server(options, connectionListener) {
1653 if (!(this instanceof Server))
1654 return new Server(options, connectionListener);
1705 ObjectSetPrototypeOf(Server.prototype, EventEmitter.prototype);
1706 ObjectSetPrototypeOf(Server, EventEmitter);
1841 Server.prototype._listen2 = setupListenHandle; // legacy alias
1898 Server.prototype.listen = function(...args) {
2020 ObjectDefineProperty(Server.prototype, 'listening', {
2029 Server.prototype.address = function() {
2116 * @returns {Server}
2119 Server.prototype.getConnections = function(cb) {
2157 Server.prototype.close = function(cb) {
2196 Server.prototype[SymbolAsyncDispose] = async function() {
2203 Server.prototype._emitCloseIfDrained = function() {
2225 Server.prototype[EventEmitter.captureRejectionSymbol] = function(
2252 Server.prototype._setupWorker = function(socketList) {
2261 Server.prototype.ref = function() {
2270 Server.prototype.unref = function() {
2335 Server,