MCPcopy Create free account
hub / github.com/3rdparty/libprocess / RouteProcess

Method RouteProcess

src/process.cpp:326–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 {
325 public:
326 RouteProcess(
327 const string& name,
328 const Option<string>& _help,
329 const lambda::function<Future<Response>(const Request&)>& _handler)
330 : ProcessBase(strings::remove(name, "/", strings::PREFIX)),
331 help(_help),
332 handler(_handler) {}
333
334 protected:
335 void initialize() override

Callers

nothing calls this directly

Calls 1

removeFunction · 0.85

Tested by

no test coverage detected