UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
UPnPsdk::CScheme Class Reference

Scheme component of a URI. More...

#include <uri.hpp>

+ Inheritance diagram for UPnPsdk::CScheme:
+ Collaboration diagram for UPnPsdk::CScheme:

Public Member Functions

 CScheme (std::string_view a_uri_sv)
 Initialize the scheme component.
 
- Public Member Functions inherited from UPnPsdk::CComponent
STATE state () const
 Get state of the component.
 
const std::string & str () const
 Get the string of the component.
 

Additional Inherited Members

- Public Types inherited from UPnPsdk::CComponent
enum struct  STATE { undef , empty , avail }
 Defines the possible states of a URI component. More...
 
- Protected Attributes inherited from UPnPsdk::CComponent
STATE m_state {STATE::undef}
 Current state of the component.
 
std::string m_component
 Name of the component.
 

Detailed Description

Scheme component of a URI.

All of the requirements for the "http" scheme are also requirements for the "https" scheme, except that TCP port 443 is the default instead port 80 for "http" (RFC7230 2.7.2.).

Definition at line 193 of file uri.hpp.

Constructor & Destructor Documentation

◆ CScheme()

UPnPsdk::CScheme::CScheme ( std::string_view  a_uri_sv)

Initialize the scheme component.

Parameters
[in]a_uri_svInput URI string

Definition at line 248 of file uri.cpp.


The documentation for this class was generated from the following files: