Loading examples/httpauth.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ public: try { Controller controller(getServerSockets()); controller.runEventloop(); }catch(libhttppp::HTTPException &e){ }catch(std::exception &e){ std::cout << e.what() << std::endl; } }; Loading examples/httpclient.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ int main(int /*argc*/, char** argv){ libhttppp::HttpClient clt(url); std::vector<char> back = clt.Get(req); std::cout.write(back.data(),back.size()); }catch(libhttppp::HTTPException &e){ }catch(std::exception &e){ std::cerr << e.what() << std::endl; return -1; } Loading Loading
examples/httpauth.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ public: try { Controller controller(getServerSockets()); controller.runEventloop(); }catch(libhttppp::HTTPException &e){ }catch(std::exception &e){ std::cout << e.what() << std::endl; } }; Loading
examples/httpclient.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ int main(int /*argc*/, char** argv){ libhttppp::HttpClient clt(url); std::vector<char> back = clt.Get(req); std::cout.write(back.data(),back.size()); }catch(libhttppp::HTTPException &e){ }catch(std::exception &e){ std::cerr << e.what() << std::endl; return -1; } Loading