10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
URLParser.h
1
#ifndef TENDUKE_NET_URLPARSER_H
2
#define TENDUKE_NET_URLPARSER_H
3
4
#include "./URL.h"
5
6
#include <memory>
7
#include <string>
8
9
namespace
tenduke
{
namespace
net
{
10
11
15
class
URLParser
16
{
17
public
:
18
virtual
~URLParser
() =
default
;
19
25
virtual
std::unique_ptr<::tenduke::net::URL>
ptrFrom
(
const
std::string &urlToParse)
const
= 0;
26
32
virtual ::tenduke::net::URL
from
(
const
std::string &urlToParse)
const
= 0;
33
34
};
35
36
37
}}
38
39
40
#endif
// TENDUKE_NET_URLPARSER_H
tenduke::net::URLParser
A service to parse URLs from strings.
Definition
URLParser.h:16
tenduke::net::URLParser::from
virtual::tenduke::net::URL from(const std::string &urlToParse) const =0
Parses URL from provided string.
tenduke::net::URLParser::ptrFrom
virtual std::unique_ptr<::tenduke::net::URL > ptrFrom(const std::string &urlToParse) const =0
Parses URL from provided string.
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
URLParser.h
Generated by
1.17.0