summaryrefslogtreecommitdiff
path: root/subprojects/battleNetApi/include/apiUrl.hpp
blob: cefce0b65a40b96cb3f5acd4d0eb046ef0b32a43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include <string>
#include <unordered_map>

class ApiUrl {
  public:
    ApiUrl(const std::string iContentType);
    void setLocale(const std::string iLocale);
    void setGameMode(const std::string iGameMode);
    std::string operator()();

  private:
    std::string mContentType;
    std::unordered_map<std::string, std::string> aParameters;
};