method Server.prototype.on
#Server.prototype.on(event: string,listener: (...args: any[]) => void,): this
#Server.prototype.on(event: "keylog",listener: (line: Buffer,tlsSocket: tls.TLSSocket,) => void,): this
#Server.prototype.on(event: "newSession",listener: (sessionId: Buffer,sessionData: Buffer,callback: (err: Error,resp: Buffer,) => void,) => void,): this
#Server.prototype.on(event: "OCSPRequest",listener: (certificate: Buffer,issuer: Buffer,callback: (err: Error | null,resp: Buffer,) => void,) => void,): this
#Server.prototype.on(event: "resumeSession",listener: (sessionId: Buffer,callback: (err: Error,sessionData: Buffer,) => void,) => void,): this
#Server.prototype.on(event: "secureConnection",listener: (tlsSocket: tls.TLSSocket) => void,): this
#Server.prototype.on(event: "tlsClientError",listener: (err: Error,tlsSocket: tls.TLSSocket,) => void,): this
#Server.prototype.on(event: "close",listener: () => void,): this
#Server.prototype.on(event: "error",listener: (err: Error) => void,): this
#Server.prototype.on(event: "listening",listener: () => void,): this
#Server.prototype.on(event: "checkContinue",listener: http.RequestListener<Request, Response>,): this
#Server.prototype.on(event: "checkExpectation",listener: http.RequestListener<Request, Response>,): this
#Server.prototype.on(event: "connect",listener: () => void,): this
#Server.prototype.on(event: "request",listener: http.RequestListener<Request, Response>,): this