21 const std::shared_ptr<std::vector<std::string>> &requestedUrls,
22 const std::shared_ptr<std::vector<std::shared_ptr<tenduke::test::fakes::FakeSocket>>> &responseSockets,
23 const std::chrono::milliseconds &maxLifeTime = std::chrono::seconds(30)
28 void start()
override;
31 void requestTo(
const std::string &requestTarget);
32 bool isRunning()
const;
35 std::chrono::milliseconds maxLifeTime;
36 const std::shared_ptr<std::deque<std::string>> requestQueue;
39 const std::shared_ptr<std::vector<std::string>> requestedUrls;
40 const std::shared_ptr<std::vector<std::shared_ptr<tenduke::test::fakes::FakeSocket>>> responseSockets;
41 std::mutex lockRequestQueue;
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4