#pragma once

#include <balancer/client/experimental/base/requester.h>

#include <balancer/kernel/memory/chunks.h>

namespace NHttp::NRequesters {
// Реализация IRequester которая возвращает статический ответ
class TStaticRequester: public IRequester {
  public:
    TStaticRequester(NSrvKernel::TChunkList buffer);

    std::unique_ptr<NHttp::IRequestContext> Send(NHttp::TRequest request) noexcept override;

  private:
    NSrvKernel::TChunkList Buffer_;
};
}
