◆ getScheme()
Extracts the scheme of an URL parsed previously by parseURL.
- Return values
-
| String | of the URL's scheme. e.g. "https". |
| Empty | string on failure. |
Implements Networking::URL.
◆ getHost()
Extracts the host name of an URL parsed previously by parseURL.
- Return values
-
| String | of the URL's host name. e.g. "scummvm.org". |
| Empty | string on failure. |
Implements Networking::URL.
◆ getPort()
| int Networking::AndroidURL::getPort |
( |
bool |
returnDefault = false | ) |
const |
|
overridevirtual |
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. |
Implements Networking::URL.
The documentation for this class was generated from the following file:
- backends/networking/basic/android/url.h