10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::net::URLDecoder Class Referenceabstract

#include <URLDecoder.h>

Detailed Description

Service to URL-decode a string.

Inheritance diagram for tenduke::net::URLDecoder:
tenduke::net::curl::LibCurlURLDecoder

Public Member Functions

virtual std::string decode (const char *string, std::size_t len) const =0
 URL-decodes given string.
 

Member Function Documentation

◆ decode()

virtual std::string tenduke::net::URLDecoder::decode ( const char *  string,
std::size_t  len 
) const
pure virtual

URL-decodes given string.

This assumes that the encoded value decodes to e.g. UTF-8 encoded string. Technically the decoded data could be binary data.

Returns
-
Exceptions
tenduke::net::URLExceptionif the decoding failed

Implemented in tenduke::net::curl::LibCurlURLDecoder.


The documentation for this class was generated from the following file: