MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / GenericProxyError

Method GenericProxyError

libi2pd_client/HTTPProxy.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 void HTTPReqHandler::GenericProxyError(std::string_view title, std::string_view description)
169 {
170 std::stringstream ss;
171 ss << "<h1>" << tr("Proxy error") << ": " << title << "</h1>\r\n";
172 ss << "<p>" << description << "</p>\r\n";
173 SendProxyError(ss.str ());
174 }
175
176 void HTTPReqHandler::GenericProxyInfo(std::string_view title, std::string_view description)
177 {

Callers 1

Calls 1

trFunction · 0.85

Tested by

no test coverage detected