Authority component of a URI reference.
More...
#include <uri.hpp>
|
| | CAuthority (std::string_view a_uri_sv) |
| | Initialize the authority component.
|
| |
| CComponent::STATE | state () const |
| | Get state of the authority.
|
| |
| std::string | str () const |
| | Get the string of the authority component.
|
| |
Authority component of a URI reference.
Definition at line 272 of file uri.hpp.
◆ CAuthority()
| UPnPsdk::CAuthority::CAuthority |
( |
std::string_view |
a_uri_sv | ) |
|
Initialize the authority component.
- Exceptions
-
| std::invalid_argument |
- if host pattern is invalid. No DNS lookup is performed.
- if port number is invalid.
|
- Parameters
-
| [in] | a_uri_sv | Input URI string |
Definition at line 623 of file uri.cpp.
◆ state()
Get state of the authority.
- Returns
- State of the authority component.
Definition at line 628 of file uri.cpp.
◆ str()
| std::string UPnPsdk::CAuthority::str |
( |
| ) |
const |
Get the string of the authority component.
- Returns
- the authority component string.
Definition at line 643 of file uri.cpp.
◆ userinfo
authority subcomponent
Definition at line 276 of file uri.hpp.
◆ host
| CHost UPnPsdk::CAuthority::host |
authority subcomponent
Definition at line 277 of file uri.hpp.
◆ port
| CPort UPnPsdk::CAuthority::port |
authority subcomponent
Definition at line 278 of file uri.hpp.
The documentation for this class was generated from the following files: