Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/undici
/ ping
Method
ping
test/http2-ping-errors.js:61–64 ·
view source on GitHub ↗
(cb)
Source
from the content-addressed store, hash-verified
59
unref () {}
60
61
ping (cb) {
62
cb(
new
Error(
'boom'
))
63
this.closed = true
64
}
65
}
66
67
const
socket =
new
FakeSocket()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected