#include <NTRIPConfiguration.h>
Public Member Functions | |
| bool | operator== (const NTRIPConnectionConfig &) const =default |
| QString | validationError () const |
| QString | streamValidationError () const |
| QUrl | url (bool withMountpoint=true) const |
| The caster's HTTP(S) URL, with the mountpoint as its path when withMountpoint is set, else "/". | |
| bool | sendsCredentialsInClear () const |
| Credentials go to the caster without TLS. | |
| QString | credentialsInClearWarning () const |
| The user-visible warning when credentials go to the caster without TLS; empty otherwise. | |
Public Attributes | |
| QString | host |
| int | port = 2101 |
| QString | username |
| QString | password |
| QString | mountpoint |
| bool | useTls = false |
| bool | allowSelfSignedCerts = false |
| QString | pinnedCertificate |
| "host:port|sha256-hex" of the self-signed certificate trusted on first use; other endpoints ignore it. | |
Definition at line 7 of file NTRIPConfiguration.h.
|
nodiscard |
The user-visible warning when credentials go to the caster without TLS; empty otherwise.
Definition at line 64 of file NTRIPConfiguration.cc.
References sendsCredentialsInClear().
|
default |
|
nodiscard |
Credentials go to the caster without TLS.
Definition at line 59 of file NTRIPConfiguration.cc.
References password, username, and useTls.
Referenced by credentialsInClearWarning().
|
nodiscard |
Definition at line 38 of file NTRIPConfiguration.cc.
References mountpoint, and validationError().
Referenced by NTRIPHttpRequest::build().
|
nodiscard |
The caster's HTTP(S) URL, with the mountpoint as its path when withMountpoint is set, else "/".
Definition at line 49 of file NTRIPConfiguration.cc.
References host, mountpoint, port, url(), and useTls.
Referenced by NTRIPHttpRequest::build(), and url().
|
nodiscard |
Definition at line 8 of file NTRIPConfiguration.cc.
References host, mountpoint, port, and username.
Referenced by NTRIPHttpRequest::build(), NTRIPSourceTableController::fetch(), and streamValidationError().
| bool NTRIPConnectionConfig::allowSelfSignedCerts = false |
Definition at line 18 of file NTRIPConfiguration.h.
Referenced by NTRIPHttpSession::open().
| QString NTRIPConnectionConfig::host |
Definition at line 12 of file NTRIPConfiguration.h.
Referenced by NTRIPHttpSession::open(), url(), and validationError().
| QString NTRIPConnectionConfig::mountpoint |
Definition at line 16 of file NTRIPConfiguration.h.
Referenced by NTRIPSourceTableController::fetch(), streamValidationError(), url(), and validationError().
| QString NTRIPConnectionConfig::password |
Definition at line 15 of file NTRIPConfiguration.h.
Referenced by NTRIPHttpRequest::build(), and sendsCredentialsInClear().
| QString NTRIPConnectionConfig::pinnedCertificate |
"host:port|sha256-hex" of the self-signed certificate trusted on first use; other endpoints ignore it.
Definition at line 20 of file NTRIPConfiguration.h.
Referenced by NTRIPHttpSession::open().
| int NTRIPConnectionConfig::port = 2101 |
Definition at line 13 of file NTRIPConfiguration.h.
Referenced by NTRIPHttpSession::open(), url(), and validationError().
| QString NTRIPConnectionConfig::username |
Definition at line 14 of file NTRIPConfiguration.h.
Referenced by NTRIPHttpRequest::build(), sendsCredentialsInClear(), and validationError().
| bool NTRIPConnectionConfig::useTls = false |
Definition at line 17 of file NTRIPConfiguration.h.
Referenced by NTRIPHttpSession::open(), sendsCredentialsInClear(), and url().