|
| void | set_secure (bool secure) |
| | set_secure defines if the connection is done via TLS More...
|
| |
|
std::string | get_hostname () |
| |
|
std::string | get_chargepoint_id () |
| |
|
std::string | get_path () |
| |
|
uint16_t | get_port () |
| |
|
std::string | string () |
| |
|
ev_uri | get_websocketpp_uri () |
| |
|
| static Uri | parse_and_validate (std::string uri, std::string chargepoint_id, int security_profile) |
| | parse_and_validate parses the uri and checks More...
|
| |
◆ parse_and_validate()
| Uri ocpp::Uri::parse_and_validate |
( |
std::string |
uri, |
|
|
std::string |
chargepoint_id, |
|
|
int |
security_profile |
|
) |
| |
|
static |
parse_and_validate parses the uri and checks
- the general validity of it and
- if optional scheme fits to given
security_profile
- Parameters
-
| uri | The whole URI with optional scheme and chargepoint_id as last segment (as backward-compatibility). |
| chargepoint_id | The identifier unique to the CSMS. |
| security_profile | The security-profile. |
- Returns
- Uri
- Exceptions
-
| std::invalid_argument | for several checks |
◆ set_secure()
| void ocpp::Uri::set_secure |
( |
bool |
secure | ) |
|
|
inline |
set_secure defines if the connection is done via TLS
- Parameters
-
| secure | true: connect via TLS; false: connect as plaintext |
The documentation for this class was generated from the following files:
- include/ocpp/common/websocket/websocket_uri.hpp
- lib/ocpp/common/websocket/websocket_uri.cpp