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

#include <URLParser.h>

Detailed Description

A service to parse URLs from strings.

Inheritance diagram for tenduke::net::URLParser:
tenduke::net::curl::LibCurlURLParser tenduke::test::mocks::URLParserMock

Public Member Functions

virtual std::unique_ptr< tenduke::net::URLfrom (const std::string &urlToParse) const =0
 Parses URL.
 

Member Function Documentation

◆ from()

virtual std::unique_ptr< tenduke::net::URL > tenduke::net::URLParser::from ( const std::string &  urlToParse) const
pure virtual

Parses URL.

Exceptions
tenduke::net::URLException(or subclasses) if parsing the URL failed

Implemented in tenduke::net::curl::LibCurlURLParser.


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