mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 09:52:38 +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;
|
|
};
|
|
|
|
}
|