@ -35,8 +35,6 @@ bool CorsHttpServer::SendResponse(const std::string &response, void *addInfo)
"\r\n"
"%s",(int)response.length(), response.c_str()) > 0)
return true;
return false;
}
@ -28,8 +28,7 @@ class CorsHttpServer : public HttpServer
{
public:
using HttpServer::HttpServer;
bool virtual SendResponse(const std::string& response,
void* addInfo = NULL);
bool virtual SendResponse(const std::string& response, void* addInfo = NULL);
};