mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-06 18:22:32 +00:00
9f48226663
Inline nlohmann/json for the JSON parsing itself, and handle requests with the same SCGI interface as XML-RPC. Based off the work in https://github.com/jesec/rtorrent
16 lines
272 B
C++
16 lines
272 B
C++
#ifndef RTORRENT_UTILS_BASE64_H
|
|
#define RTORRENT_UTILS_BASE64_H
|
|
|
|
#include <string>
|
|
|
|
#include <torrent/exceptions.h>
|
|
|
|
namespace utils {
|
|
|
|
std::string remove_newlines(const std::string& str);
|
|
std::string decode_base64(const std::string& input);
|
|
|
|
} // namespace utils
|
|
|
|
#endif
|