Twitch SDK (Internal)
stringutil.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2017 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
11 #include "twitchsdk/ads/adtypes.h"
12 
13 #include <map>
14 #include <string>
15 #include <vector>
16 
17 namespace ttv
18 {
19  namespace ads
20  {
21  std::string SanitizeString(const std::string& string);
22  std::string SubstituteMacrosInUrl(const std::string& url, const std::map<std::string, std::string>& substitutions);
23  }
24 }
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
std::string SubstituteMacrosInUrl(const std::string &url, const std::map< std::string, std::string > &substitutions)
std::string SanitizeString(const std::string &string)