◆ parseURL()
Parses an URL string and creates a new URL object.
- Parameters
-
| url | is a string containing the URL. e.g. "https://scummvm.org". |
- Return values
-
| An | URL object from the url provided |
◆ getScheme()
◆ getHost()
◆ getPort()
| virtual int Networking::URL::getPort |
( |
bool |
returnDefault = false | ) |
const |
|
pure virtual |
Extracts the port of an URL parsed previously by parseURL.
- Parameters
-
| returnDefault | tells libcurl to return the default port according to the URL's scheme if not explicitly defined |
- Return values
-
| The | URL's port number if one exists. |
| 0 | if no port found. |
| default | port if returnDefault is true. |
| -1 | on failure. |
Implemented in Networking::AndroidURL, and Networking::CurlURL.
The documentation for this class was generated from the following file:
- backends/networking/basic/url.h