| 153 | HttpEvent& operator=(const HttpEvent&) = delete; |
| 154 | |
| 155 | ~HttpEvent() override |
| 156 | { |
| 157 | if (response) { |
| 158 | // Fail the response in case it wasn't set. |
| 159 | response->set(http::InternalServerError()); |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | void visit(EventVisitor* visitor) const override |
| 164 | { |
nothing calls this directly
no test coverage detected