| 97 | } |
| 98 | |
| 99 | std::string url() const { |
| 100 | if (listen_handler_.url.empty()) throw std::runtime_error("no url"); |
| 101 | return listen_handler_.url; |
| 102 | } |
| 103 | |
| 104 | void on_connection_open(proton::connection &c) override { |
| 105 | // Only listen for a single connection |