method Server.prototype.emit
Jump to headingServer.prototype.emit(event: string | symbol,...args: any[],): boolean
Parameters Jump to heading
Jump to headingevent: string | symbol
Jump to heading<span>...args</span>: any[]
Return Type Jump to heading
boolean
Jump to headingServer.prototype.emit(event: "close"): boolean
Parameters Jump to heading
Jump to headingevent: "close"
Return Type Jump to heading
boolean
Jump to headingServer.prototype.emit(event: "connection",socket: Socket,): boolean
Parameters Jump to heading
Jump to headingevent: "connection"
Jump to headingsocket: Socket
Return Type Jump to heading
boolean
Jump to headingServer.prototype.emit(event: "error",err: Error,): boolean
Parameters Jump to heading
Jump to headingevent: "error"
Jump to headingerr: Error
Return Type Jump to heading
boolean
Jump to headingServer.prototype.emit(event: "listening"): boolean
Parameters Jump to heading
Jump to headingevent: "listening"
Return Type Jump to heading
boolean
Jump to headingServer.prototype.emit(event: "drop",data?: DropArgument,): boolean
Parameters Jump to heading
Jump to headingevent: "drop"
optional
Jump to headingdata: DropArgument
Return Type Jump to heading
boolean