xxtelebot  1.4.1.0
A simple Telegram Bot implementation in C++
encode.h
1 #ifndef TGBOT_UTILS_ENCODER_H
2 #define TGBOT_UTILS_ENCODER_H
3 
4 #include <sstream>
5 #include <string>
6 
7 namespace tgbot {
8  namespace utils {
14  void encode(std::stringstream &stream, const std::string &target);
15 
21  std::string encode(const std::string &target);
22 
23  } // namespace utils
24 
25 } // namespace tgbot
26 
27 #endif
Main tgbot namespace.
Definition: bot.h:13
void encode(std::stringstream &stream, const std::string &target)
Encode URL paramter using a stringstream.