Lines Matching defs:host_port
45 auto host_port = uri.substr(
50 if (host_port.starts_with('[')) {
52 pos = host_port.rfind(']');
56 ret.hostname = host_port.substr(1, pos - 1);
57 host_port = host_port.drop_front(pos + 1);
58 if (!host_port.empty() && !host_port.consume_front(":"))
61 std::tie(ret.hostname, host_port) = host_port.split(':');
65 if (!host_port.empty()) {
67 if (host_port.getAsInteger(0, port_value))