Handler that returns HTTP 200 if the service is OK and able to process requests.
More...
Handler that returns HTTP 200 if the service is OK and able to process requests.
Uses components::ComponentContext::IsAnyComponentInFatalState() to detect fatal state (can not process requests).
Static options:
Inherits all the options from server::handlers::HttpHandlerBase HTTP Handlers and adds the following ones:
Name | Description | Default value |
warmup-time-secs | how much time it needs to warmup the server | 0 |
- Examples
- samples/production_service/production_service.cpp.
Definition at line 29 of file ping.hpp.