10Duke Scale C++ Client
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
9namespace tenduke { namespace net {
10
11
16{
17public:
18 virtual ~URLParser() = default;
19
24 virtual std::unique_ptr<tenduke::net::URL> from(const std::string &urlToParse) const = 0;
25};
26
27
28}}
29
30
31#endif // TENDUKE_NET_URLPARSER_H
A service to parse URLs from strings.
Definition URLParser.h:16
virtual std::unique_ptr< tenduke::net::URL > from(const std::string &urlToParse) const =0
Parses URL.
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7