The oatpp-socketio
project is an implementation of the Socket.IO / Engine.IO, v4 protocol in C++, specifically for OAT++.
WIP This project is still work in progress - engine.io has been implemented, we're working on socket.io at the moment.
This uses minimal prerequisites, esp.:
- CMake (build project)
- Oatpp (used for HTTP handling)
- oatpp-websockets (websockets implementation)
- oatpp-Swagger (for API documentation)
First, build the pre-requisites. As this has been implemented in Linux, build the oatpp libraries with the shared library option turned on.
Follow these steps to build the toffy-oatpp
API project:
mkdir build
cd build
cmake ..
cd ..
make -j$(nproc) -C build install
./build/app/engineio_server
The API will now be running and accessible. You can view the Swagger API documentation by navigating to: