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