| 98 | } |
| 99 | |
| 100 | std::string url() const { |
| 101 | if (listen_handler_.url.empty()) throw std::runtime_error("no url"); |
| 102 | return listen_handler_.url; |
| 103 | } |
| 104 | |
| 105 | void on_connection_open(proton::connection &c) override { |
| 106 | listening_port_ = listener_.port(); |
no test coverage detected