You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
282 B

import { EventEmitter } from 'events';
import { Connection } from './Connection.js';
declare class Server extends EventEmitter {
connections: Array<Connection>;
listen(port: number): Server;
close(callback: (error: Error, count: number) => any): void;
}
export { Server };