I wanted to create an api server using C++ as it is my favorite language however i was unable to find a http libary that fits my requirements.
Those requirements being:
- Simple to understand
- Simple to get working
- Easy to implement
So i wrote this libary. I don't know if this makes sense to other people, but it works for me.
You can build either in debug or release mode using
make
or
make release
respectivly.
This will create all necessary files under target/debug|release/
.
Include kleinsHTTP.h in your project. Add kleinsHTTP.a to your source files.
Include kleinsHTTP.h in your project.
Move libkleinsHTTP.so to /usr/lib/
Check out example.cpp on how to use this libary.
(I'm still working on better documentaion. Sorry!)
YES! Any help would be greatly appritiated.
That is not a question. But me neither.
If you have a better idea for a name plase create a issue with the suggestion.
Make an issue or contact me via Discord (kleins#9003) / Twitter (@kleinschrader)
Yes, check the example for more info.
Yes! Checkout kleins::httpServer::serveDirectory
Yes. Its kleinschrader/kleinsHTTP