Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hapijs/hapi
/ registerServer
Method
registerServer
lib/core.js:249–257 ·
view source on GitHub ↗
(server)
Source
from the content-addressed store, hash-verified
247
}
248
249
registerServer(server) {
250
251
if
(!this.root) {
252
this.root = server;
253
this._defaultRoutes();
254
}
255
256
this.instances.add(server);
257
}
258
259
async
_start() {
260
Callers
1
constructor
Method · 0.80
Calls
2
_defaultRoutes
Method · 0.80
add
Method · 0.65
Tested by
no test coverage detected