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: "keylog",listener: (line: Buffer,tlsSocket: tls.TLSSocket,) => void,): this
Parameters Jump to heading
Jump to headingevent: "keylog"
Jump to headinglistener: (line: Buffer,tlsSocket: tls.TLSSocket,) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "newSession",listener: (sessionId: Buffer,sessionData: Buffer,callback: (err: Error,resp: Buffer,) => void,) => void,): this
Parameters Jump to heading
Jump to headingevent: "newSession"
Jump to headinglistener: (sessionId: Buffer,sessionData: Buffer,callback: (err: Error,resp: Buffer,) => void,) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "OCSPRequest",listener: (certificate: Buffer,issuer: Buffer,callback: (err: Error | null,resp: Buffer,) => void,) => void,): this
Parameters Jump to heading
Jump to headingevent: "OCSPRequest"
Jump to headinglistener: (certificate: Buffer,issuer: Buffer,callback: (err: Error | null,resp: Buffer,) => void,) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "resumeSession",listener: (sessionId: Buffer,callback: (err: Error,sessionData: Buffer,) => void,) => void,): this
Parameters Jump to heading
Jump to headingevent: "resumeSession"
Jump to headinglistener: (sessionId: Buffer,callback: (err: Error,sessionData: Buffer,) => void,) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "secureConnection",listener: (tlsSocket: tls.TLSSocket) => void,): this
Parameters Jump to heading
Jump to headingevent: "secureConnection"
Jump to headinglistener: (tlsSocket: tls.TLSSocket) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "tlsClientError",listener: (err: Error,tlsSocket: tls.TLSSocket,) => void,): this
Parameters Jump to heading
Jump to headingevent: "tlsClientError"
Jump to headinglistener: (err: Error,tlsSocket: tls.TLSSocket,) => 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: Duplex) => void,): this
Parameters Jump to heading
Jump to headingevent: "connection"
Jump to headinglistener: (socket: Duplex) => 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: http.RequestListener<Request, Response>,): this
Parameters Jump to heading
Jump to headingevent: "checkContinue"
Jump to headinglistener: http.RequestListener<Request, Response>
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "checkExpectation",listener: http.RequestListener<Request, Response>,): this
Parameters Jump to heading
Jump to headingevent: "checkExpectation"
Jump to headinglistener: http.RequestListener<Request, Response>
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "clientError",listener: (err: Error,socket: Duplex,) => void,): this
Parameters Jump to heading
Jump to headingevent: "clientError"
Jump to headinglistener: (err: Error,socket: Duplex,) => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "connect",listener: () => void,): this
Parameters Jump to heading
Jump to headingevent: "connect"
Jump to headinglistener: () => void
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "request",listener: http.RequestListener<Request, Response>,): this
Parameters Jump to heading
Jump to headingevent: "request"
Jump to headinglistener: http.RequestListener<Request, Response>
Return Type Jump to heading
this
Jump to headingServer.prototype.once(event: "upgrade",listener: () => void,): this
Parameters Jump to heading
Jump to headingevent: "upgrade"
Jump to headinglistener: () => void
Return Type Jump to heading
this