| 32 | |
| 33 | protected: |
| 34 | void initialize() override |
| 35 | { |
| 36 | route("/start", |
| 37 | authenticationRealm, |
| 38 | START_HELP(), |
| 39 | &Profiler::start); |
| 40 | |
| 41 | route("/stop", |
| 42 | authenticationRealm, |
| 43 | STOP_HELP(), |
| 44 | &Profiler::stop); |
| 45 | } |
| 46 | |
| 47 | private: |
| 48 | static const std::string START_HELP(); |
nothing calls this directly
no outgoing calls
no test coverage detected