(type, code, id)
| 7209 | process.emitWarning("H2 support is experimental, expect them to change at any time.", { |
| 7210 | code: "UNDICI-H2" |
| 7211 | }); |
| 7212 | } |
| 7213 | const session = http2.connect(client[kUrl], { |
| 7214 | createConnection: () => socket, |
| 7215 | peerMaxConcurrentStreams: client[kMaxConcurrentStreams] |
| 7216 | }); |
| 7217 | session[kOpenStreams] = 0; |
| 7218 | session[kClient] = client; |
| 7219 | session[kSocket] = socket; |
| 7220 | util.addListener(session, "error", onHttp2SessionError); |
nothing calls this directly
no outgoing calls
no test coverage detected