/* */ #include "HttpProxyRequestCommand.h" #include "HttpProxyResponseCommand.h" #include "Request.h" #include "SocketCore.h" #include "SocketRecvBuffer.h" #include "a2functional.h" namespace aria2 { HttpProxyRequestCommand::HttpProxyRequestCommand( cuid_t cuid, const std::shared_ptr& req, const std::shared_ptr& fileEntry, RequestGroup* requestGroup, DownloadEngine* e, const std::shared_ptr& proxyRequest, const std::shared_ptr& s) : AbstractProxyRequestCommand(cuid, req, fileEntry, requestGroup, e, proxyRequest, s) { } HttpProxyRequestCommand::~HttpProxyRequestCommand() = default; std::unique_ptr HttpProxyRequestCommand::getNextCommand() { return make_unique( getCuid(), getRequest(), getFileEntry(), getRequestGroup(), getHttpConnection(), getDownloadEngine(), getSocket()); } } // namespace aria2