#include "quiche/quic/core/quic_server_id.h"
#include <optional>
#include <string>
#include <tuple>
#include <utility>
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "quiche/common/platform/api/quiche_googleurl.h"
#include "quiche/common/platform/api/quiche_logging.h"
namespace quic {
std::optional<QuicServerId> QuicServerId::ParseFromHostPortString(
absl::string_view host_port_string) { … }
QuicServerId::QuicServerId() : … { … }
QuicServerId::QuicServerId(std::string host, uint16_t port)
: … { … }
QuicServerId::QuicServerId(std::string host, uint16_t port,
bool privacy_mode_enabled)
: … { … }
QuicServerId::~QuicServerId() { … }
bool QuicServerId::operator<(const QuicServerId& other) const { … }
bool QuicServerId::operator==(const QuicServerId& other) const { … }
bool QuicServerId::operator!=(const QuicServerId& other) const { … }
std::string QuicServerId::ToHostPortString() const { … }
absl::string_view QuicServerId::GetHostWithoutIpv6Brackets() const { … }
std::string QuicServerId::GetHostWithIpv6Brackets() const { … }
}