Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hapijs/hapi
/ handler
Function
handler
test/request.js:130–133 ·
view source on GitHub ↗
(request)
Source
from the content-addressed store, hash-verified
128
const
server = Hapi.server();
129
130
const
handler = (request) => {
131
132
return
[request.info.host, request.info.hostname].join(
'|'
);
133
};
134
135
server.route({ method:
'GET'
, path:
'/'
, handler });
136
Callers
nothing calls this directly
Calls
4
match
Method · 0.80
destroy
Method · 0.80
log
Method · 0.65
once
Method · 0.65
Tested by
no test coverage detected