method Server.prototype.once
Jump to headingServer.prototype.once(event: string,listener: (...args: any[]) => void,): this
Parameters Jump to heading
Jump to headingevent: string
Jump to headinglistener: (...args: any[]) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "close",listener: () => void,): this
Parameters Jump to heading
Jump to headingevent: "close"
Jump to headinglistener: () => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "connection",listener: (socket: Socket) => void,): this
Parameters Jump to heading
Jump to headingevent: "connection"
Jump to headinglistener: (socket: Socket) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "error",listener: (err: Error) => void,): this
Parameters Jump to heading
Jump to headingevent: "error"
Jump to headinglistener: (err: Error) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "listening",listener: () => void,): this
Parameters Jump to heading
Jump to headingevent: "listening"
Jump to headinglistener: () => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "checkContinue",listener: RequestListener<Request, Response>,): this
Parameters Jump to heading
Jump to headingevent: "checkContinue"
Jump to headinglistener: RequestListener<Request, Response>
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "checkExpectation",listener: RequestListener<Request, Response>,): this
Parameters Jump to heading
Jump to headingevent: "checkExpectation"
Jump to headinglistener: RequestListener<Request, Response>
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "clientError",listener: (err: Error,socket: stream.Duplex,) => void,): this
Parameters Jump to heading
Jump to headingevent: "clientError"
Jump to headinglistener: (err: Error,socket: stream.Duplex,) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "connect",listener: (req: InstanceType<Request>,socket: stream.Duplex,head: Buffer,) => void,): this
Parameters Jump to heading
Jump to headingevent: "connect"
Jump to headinglistener: (req: InstanceType<Request>,socket: stream.Duplex,head: Buffer,) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "dropRequest",listener: (req: InstanceType<Request>,socket: stream.Duplex,) => void,): this
Parameters Jump to heading
Jump to headingevent: "dropRequest"
Jump to headinglistener: (req: InstanceType<Request>,socket: stream.Duplex,) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "request",listener: RequestListener<Request, Response>,): this
Parameters Jump to heading
Jump to headingevent: "request"
Jump to headinglistener: RequestListener<Request, Response>
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "upgrade",listener: (req: InstanceType<Request>,socket: stream.Duplex,head: Buffer,) => void,): this
Parameters Jump to heading
Jump to headingevent: "upgrade"
Jump to headinglistener: (req: InstanceType<Request>,socket: stream.Duplex,head: Buffer,) => void
Return Type Jump to heading
this