Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/mesos
/ Route
Method
Route
3rdparty/libprocess/src/process.cpp:308–314 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
306
{
307
public:
308
Route(const string& name,
309
const Option<string>& help,
310
const lambda::function<Future<Response>(const Request&)>& handler)
311
: process(name, help, handler)
312
{
313
spawn(process);
314
}
315
316
~Route()
317
{
Callers
nothing calls this directly
Calls
1
spawn
Function · 0.70
Tested by
no test coverage detected