method ServerHttp2Session.addListener
Usage in Deno
```typescript import { type ServerHttp2Session } from "node:node__http2.d.ts"; ```
ServerHttp2Session.addListener(event: "connect",listener: (session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>,socket: net.Socket | tls.TLSSocket,) => void,): this
listener: (session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>,socket: net.Socket | tls.TLSSocket,) => void
this