10Duke Scale C++ Client
Loading...
Searching...
No Matches
LibcurlURLDecoder.h
1#ifndef TENDUKE_NET_CURL_LIBCURLURLDECODER_H
2#define TENDUKE_NET_CURL_LIBCURLURLDECODER_H
3
4#include "net/URLDecoder.h"
5
6#include <curl/curl.h>
7
8namespace tenduke { namespace net { namespace curl {
9
10
15{
16 // tenduke::net::URLDecoder interface
17public:
18 std::string decode(const char * string, std::size_t len) const override;
19};
20
21
34std::string urlDecode(
35 CURL * curl,
36 const char *encodedString,
37 std::size_t len
38);
39
40
41}}}
42
43#endif // TENDUKE_NET_CURL_LIBCURLURLDECODER_H
Service to URL-decode a string.
Definition URLDecoder.h:14
Libcurl implementation of tenduke::net::URLDecoder.
Definition LibcurlURLDecoder.h:15
std::string decode(const char *string, std::size_t len) const override
URL-decodes given string.
Definition LibcurlURLDecoder.cpp:36
std::string urlDecode(CURL *curl, const char *encodedString, std::size_t len)
Decodes given string using given CURL-handle.
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7