method Server.prototype.on
Usage in Deno
```typescript import { Server } from "node:node__https.d.ts"; ```
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: "tlsClientError",listener: (err: Error,tlsSocket: tls.TLSSocket,) => void,): this
Server.prototype.on(event: "connection",listener: (socket: Duplex) => void,): this
listener: (socket: Duplex) => 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: "clientError",listener: (err: Error,socket: Duplex,) => void,): this
listener: (err: Error,socket: Duplex,) => void
this