Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pinger.hpp « storage - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6fd185455c42c960b91d388a791f35ba0bfe99af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "platform/safe_callback.hpp"

#include <string>
#include <vector>

namespace storage
{
class Pinger
{
public:
  using Pong = platform::SafeCallback<void(std::vector<std::string> readyUrls)>;
  static void Ping(std::vector<std::string> const & urls, Pong const & pong);
};
}  // namespace storage