MCPcopy Create free account
hub / github.com/3rdparty/libprocess / ~HttpEvent

Method ~HttpEvent

include/process/event.hpp:155–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

InternalServerErrorClass · 0.85
setMethod · 0.45

Tested by

no test coverage detected