mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
16 lines
326 B
C++
16 lines
326 B
C++
#pragma once
|
|
|
|
#include <Server/HTTP/HTTPRequestHandler.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Simple ping handler, answers "Ok." to GET request
|
|
class PingHandler : public HTTPRequestHandler
|
|
{
|
|
public:
|
|
void handleRequest(HTTPServerRequest & request, HTTPServerResponse & response, const ProfileEvents::Event & write_event) override;
|
|
};
|
|
|
|
}
|