method Socket.prototype.emit
Jump to headingSocket.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 headingSocket.prototype.emit(event: "close",hadError: boolean,): boolean
Parameters Jump to heading
Jump to headingevent: "close"
Jump to headinghadError: boolean
Return Type Jump to heading
boolean
Jump to headingSocket.prototype.emit(event: "connect"): boolean
Parameters Jump to heading
Jump to headingevent: "connect"
Return Type Jump to heading
boolean
Jump to headingSocket.prototype.emit(event: "connectionAttempt",ip: string,port: number,family: number,): boolean
Parameters Jump to heading
Jump to headingevent: "connectionAttempt"
Jump to headingip: string
Jump to headingport: number
Jump to headingfamily: number
Return Type Jump to heading
boolean
Jump to headingSocket.prototype.emit(event: "connectionAttemptFailed",ip: string,port: number,family: number,): boolean
Parameters Jump to heading
Jump to headingevent: "connectionAttemptFailed"
Jump to headingip: string
Jump to headingport: number
Jump to headingfamily: number
Return Type Jump to heading
boolean
Jump to headingSocket.prototype.emit(event: "connectionAttemptTimeout",ip: string,port: number,family: number,): boolean
Parameters Jump to heading
Jump to headingevent: "connectionAttemptTimeout"
Jump to headingip: string
Jump to headingport: number
Jump to headingfamily: number
Return Type Jump to heading
boolean
Jump to headingSocket.prototype.emit(event: "data",data: Buffer,): boolean
Parameters Jump to heading
Jump to headingevent: "data"
Jump to headingdata: Buffer
Return Type Jump to heading
boolean
Jump to headingSocket.prototype.emit(event: "drain"): boolean
Parameters Jump to heading
Jump to headingevent: "drain"
Return Type Jump to heading
boolean
Jump to headingSocket.prototype.emit(event: "end"): boolean
Parameters Jump to heading
Jump to headingevent: "end"
Return Type Jump to heading
boolean
Jump to headingSocket.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 headingSocket.prototype.emit(event: "lookup",err: Error,address: string,family: string | number,host: string,): boolean
Parameters Jump to heading
Jump to headingevent: "lookup"
Jump to headingerr: Error
Jump to headingaddress: string
Jump to headingfamily: string | number
Jump to headinghost: string
Return Type Jump to heading
boolean
Jump to headingSocket.prototype.emit(event: "ready"): boolean
Parameters Jump to heading
Jump to headingevent: "ready"
Return Type Jump to heading
boolean
Jump to headingSocket.prototype.emit(event: "timeout"): boolean
Parameters Jump to heading
Jump to headingevent: "timeout"
Return Type Jump to heading
boolean