#pragma once

#include <library/cpp/http/misc/httpreqdata.h>
#include <library/cpp/http/misc/parsed_request.h>
#include <library/cpp/http/server/http.h>
#include <library/cpp/http/server/response.h>


class TNeldrlogServerBase: public THttpServer, THttpServer::ICallBack {
public:
    TNeldrlogServerBase(const THttpServer::TOptions& opts)
        : THttpServer(this, opts)
    { }

private:
    void OnException() override;
};


class TNeldrlogRequestReplierBase: public TRequestReplier {
protected:
    static void FillRequestData(
        TServerRequestData& requestData,
        TParsedHttpFull& request,
        const TReplyParams& replyParams
    );
};


