ClickHouse/programs/odbc-bridge/PingHandler.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
326 B
C++
Raw Normal View History

#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;
};
}