mizukisonoko / cappuccino Goto Github PK
View Code? Open in Web Editor NEWtiny HTTP service libraryββπ°π°
License: MIT License
tiny HTTP service libraryββπ°π°
License: MIT License
std::shared_ptr<std::string> body_;
γεζεγγγ¦γγͺγ
γ΅γΌγγ―γοΌ» γ‘γγ»γΌγΈζ¬δ½γ―ε ε«γγγ Content-Length γ―ε ε«γγͺγ οΌ½θ¦θ«γ«ε―ΎγοΌ 411 (Length Required) γ§εΏηγγ¦ε΄δΈγγ¦γγγ
ζΈγ
As this library is not used by many people, it is important to do fuzz testing to improve reliability. It would be great to add this into circle-ci.
Whe I building IROHA http_server_with_cappuccino.hpp make error has been occured.. The error messages are as below.
Scanning dependencies of target http_server_with_cappuccino
[ 70%] Building CXX object core/infra/server/CMakeFiles/http_server_with_cappuccino.dir/http_server_with_cappuccino.cpp.o
/opt/iroha/core/infra/server/http_server_with_cappuccino.cpp: In function 'void http::server(std::map<std::__cxx11::basic_string, std::function<int(json_parse::Object)> >)':
/opt/iroha/core/infra/server/http_server_with_cappuccino.cpp:89:10: error: no matching function for call to 'route(const std::__cxx11::basic_string&, http::server(std::map<std::__cxx11::basic_string, std::function<int(json_parse::Object)> >)::<lambda(std::shared_ptrCappuccino::Request)>)'
});
^
In file included from /opt/iroha/core/infra/server/http_server_with_cappuccino.cpp:20:0:
/opt/iroha/core/infra/server/../../vendor/Cappuccino/cappuccino.hpp:551:7: note: candidate: template<Cappuccino::Method m> void Cappuccino::route(const string&, std::function<Cappuccino::Response(std::shared_ptrCappuccino::Request)>)
void route(const string& path,std::function<Response(std::shared_ptr)> F){
^
/opt/iroha/core/infra/server/../../vendor/Cappuccino/cappuccino.hpp:551:7: note: template argument deduction/substitution failed:
/opt/iroha/core/infra/server/http_server_with_cappuccino.cpp:89:10: note: couldn't deduce template parameter 'm'
});
^
In file included from /opt/iroha/core/infra/server/http_server_with_cappuccino.cpp:20:0:
/opt/iroha/core/infra/server/../../vendor/Cappuccino/cappuccino.hpp: At global scope:
/opt/iroha/core/infra/server/../../vendor/Cappuccino/cappuccino.hpp:110:15: warning: 'void Cappuccino::Log::info(const string&)' defined but not used [-Wunused-function]
static void info(const string& msg){
^
core/infra/server/CMakeFiles/http_server_with_cappuccino.dir/build.make:62: recipe for target 'core/infra/server/CMakeFiles/http_server_with_cappuccino.dir/http_server_with_cappuccino.cpp.o' failed
make[2]: *** [core/infra/server/CMakeFiles/http_server_with_cappuccino.dir/http_server_with_cappuccino.cpp.o] Error 1
CMakeFiles/Makefile2:857: recipe for target 'core/infra/server/CMakeFiles/http_server_with_cappuccino.dir/all' failed
make[1]: *** [core/infra/server/CMakeFiles/http_server_with_cappuccino.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.