};//Client IntefaceclassIClient{public:virtual~IClient() =default;virtualstd::unique_ptr<Session>get(conststd::string& url,conststd::string& dnsServer, std::shared_ptr<std::atomic_bool> flag) = 0; };classAsyncClient:publicIClient{public:AsyncClient() {//create threadthread_ = std::thre...