userver: userver/server/handlers/restart.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
restart.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

Handler that stops the service. It is expected that an external system (e.g. systemd or supervisord) restarts the service afterwards.

Definition in file restart.hpp.

Go to the source code of this file.

#include <atomic>
#include <userver/server/handlers/http_handler_base.hpp>

Classes

class  server::handlers::Restart
 Handler that stops the service. It is expected that an external system (e.g. systemd or supervisord) restarts the service afterwards. More...
 

Namespaces

namespace  server::handlers
 Most common userver HTTP handlers.