aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Server/WebUIRequestHandler.h
blob: 09fe62d41c3d9f88ecbd9ad3812f170afc22dc10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <Server/HTTP/HTTPRequestHandler.h>


namespace DB
{

class IServer;

/// Response with HTML page that allows to send queries and show results in browser.
class WebUIRequestHandler : public HTTPRequestHandler
{
private:
    IServer & server;

public:
    WebUIRequestHandler(IServer & server_);
    void handleRequest(HTTPServerRequest & request, HTTPServerResponse & response) override;
};

}