This is a library used to run a HTTP/HTTPS server for a REST API.
Prerequisites
- devtoolset-7 (might not be required, but this is what I built/tested with)
- boost (built-in boost 1.53 no good for casablanca)
- websocketpp
Shell commands in install cpprestsdk
sudo yum -y install openssl-devel mkdir -p ~/src && cd ~/src git clone https://github.com/Microsoft/cpprestsdk.git cd cpprestsdk git reset --hard v2.10.7 git submodule update --init mkdir Release/build.release cd Release/build.release CC=gcc CXX=g++ cmake3 .. -DCMAKE_BUILD_TYPE=Release -DWERROR=OFF -DBUILD_TESTS=OFF -DBUILD_SAMPLES=OFF -DBUILD_SHARED_LIBS=OFF make -j 8 sudo make install sudo ldconfig /usr/local/lib /usr/local/lib64