10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
URL.h
1
#ifndef TENDUKE_NET_URL_H
2
#define TENDUKE_NET_URL_H
3
4
#include <cstdint>
5
#include <map>
6
#include <vector>
7
#include <string>
8
9
namespace
tenduke
{
namespace
net
{
10
11
22
class
URL
23
{
24
public
:
25
virtual
~URL() =
default
;
26
27
URL();
28
29
URL(
30
const
std::string &scheme,
31
const
std::string &username,
32
const
std::string &password,
33
const
std::string &hostname,
34
const
std::uint16_t &port,
35
const
std::string &
path
,
36
const
std::vector<std::pair<std::string, std::string>> &queryParameters,
37
const
std::string &fragment
38
);
39
44
virtual
std::multimap<std::string, std::string>
getQueryParametersAsMap
()
const
;
45
46
public
:
47
std::string scheme;
48
std::string username;
49
std::string password;
50
std::uint16_t port;
51
std::string hostname;
53
std::string
path
;
54
std::vector<std::pair<std::string, std::string>> queryParameters;
55
std::string fragment;
56
};
57
58
59
}}
60
61
62
#endif
// TENDUKE_NET_URL_H
tenduke::net::URL::getQueryParametersAsMap
virtual std::multimap< std::string, std::string > getQueryParametersAsMap() const
Returns query parameters as a multimap.
Definition
URL.cpp:5
tenduke::net::URL::path
std::string path
The path, encoded.
Definition
URL.h:53
tenduke::net
Generic networking support.
Definition
AbstractURLCodec.h:6
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
net
URL.h
Generated by
1.17.0