13 #ifndef __PROCESS_PROFILER_HPP__ 14 #define __PROCESS_PROFILER_HPP__ 29 authenticationRealm(_authenticationRealm) {}
48 static const std::string START_HELP();
49 static const std::string STOP_HELP();
72 #endif // __PROCESS_PROCESS_HPP__ void initialize() override
Invoked when a process gets spawned.
Definition: profiler.hpp:34
Profiler(const Option< std::string > &_authenticationRealm)
Definition: profiler.hpp:27
Future< Response > request(const Request &request, bool streamedResponse=false)
Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...
Definition: profiler.hpp:24
Definition: process.hpp:72
void route(const std::string &name, const Option< std::string > &help, const HttpRequestHandler &handler, const RouteOptions &options=RouteOptions())
Sets up a handler for HTTP requests with the specified name.
Definition: executor.hpp:48
Definition: process.hpp:505
~Profiler() override
Definition: profiler.hpp:31