#include <LibcurlURL.h>
A utility class to parse URLs with Libcurl.
|
| | LibcurlURL (bool lenient=true) |
| | Constructs a new instance.
|
| |
|
std::string | getScheme () const |
| |
|
std::string | getUsername () const |
| |
|
std::string | getPassword () const |
| |
|
std::uint16_t | getPort () const |
| |
|
std::string | getHostname () const |
| |
|
std::string | getPath () const |
| |
|
std::string | getQueryParameters () const |
| |
|
std::string | getFragment () const |
| |
| virtual void | parse (const std::string &url) |
| | Parses given URL into this instance.
|
| |
◆ LibcurlURL()
| tenduke::net::curl::LibcurlURL::LibcurlURL |
( |
bool | lenient = true | ) |
|
|
explicit |
Constructs a new instance.
- Parameters
-
| lenient | accept URL-scheme not recognized by libcurl. |
- Exceptions
-
| std::bad_alloc | if unable to initialize libcurl |
◆ parse()
| void tenduke::net::curl::LibcurlURL::parse |
( |
const std::string & | url | ) |
|
|
virtual |
Parses given URL into this instance.
- Parameters
-
- Exceptions
-
The documentation for this class was generated from the following files:
- core/services/default/src/net/LibcurlURL.h
- core/services/default/src/net/LibcurlURL.cpp