#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/Bonjour.hpp>
|
| typedef std::unordered_map< std::string, std::string > | TxtData |
◆ TxtData
◆ BonjourReply() [1/2]
| Slic3r::BonjourReply::BonjourReply |
( |
| ) |
|
|
delete |
◆ BonjourReply() [2/2]
| Slic3r::BonjourReply::BonjourReply |
( |
boost::asio::ip::address | ip, |
|
|
uint16_t | port, |
|
|
std::string | service_name, |
|
|
std::string | hostname, |
|
|
BonjourReply::TxtData | txt_data ) |
1078{
1079 std::string proto;
1080 std::string port_suffix;
1081 if (
port == 443) { proto =
"https://"; }
1082 if (
port != 443 &&
port != 80) { port_suffix = std::to_string(
port).insert(0, 1,
':'); }
1083
1085 if (
path[0] !=
'/') {
path.insert(0, 1,
'/'); }
1089}
uint16_t port
Definition Bonjour.hpp:39
TxtData txt_data
Definition Bonjour.hpp:44
boost::asio::ip::address ip
Definition Bonjour.hpp:38
std::string full_address
Definition Bonjour.hpp:42
std::string path() const
Definition Bonjour.cpp:1091
std::string service_name
Definition Bonjour.hpp:40
std::string hostname
Definition Bonjour.hpp:41
References full_address, hostname, ip, path(), port, service_name, and txt_data.
◆ operator<()
| bool Slic3r::BonjourReply::operator< |
( |
const BonjourReply & | other | ) |
const |
◆ operator==()
| bool Slic3r::BonjourReply::operator== |
( |
const BonjourReply & | other | ) |
const |
◆ path()
| std::string Slic3r::BonjourReply::path |
( |
| ) |
const |
◆ full_address
| std::string Slic3r::BonjourReply::full_address |
◆ hostname
| std::string Slic3r::BonjourReply::hostname |
◆ ip
| boost::asio::ip::address Slic3r::BonjourReply::ip |
◆ port
| uint16_t Slic3r::BonjourReply::port |
◆ service_name
| std::string Slic3r::BonjourReply::service_name |
◆ txt_data
| TxtData Slic3r::BonjourReply::txt_data |
The documentation for this struct was generated from the following files:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/Bonjour.hpp
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/Bonjour.cpp