MCPcopy
hub / github.com/nodejs/undici / connect

Method connect

test/types/dispatcher.events.test-d.ts:7–7  ·  view source on GitHub ↗
(origin: URL, targets: readonly Dispatcher[])

Source from the content-addressed store, hash-verified

5
6interface EventHandler {
7 connect(origin: URL, targets: readonly Dispatcher[]): void
8 disconnect(origin: URL, targets: readonly Dispatcher[], error: Errors.UndiciError): void
9 connectionError(origin: URL, targets: readonly Dispatcher[], error: Errors.UndiciError): void
10 drain(origin: URL): void

Callers 15

constructorMethod · 0.65
[kDispatch]Method · 0.65
connectH2Function · 0.65
buildConnectorFunction · 0.65
pool.jsFile · 0.65
connectFunction · 0.65
socks5-client.jsFile · 0.65
client-connect.jsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected