Skip to content

Files

client

websocket client

Simple example of the websocket client. Built with oat++ (AKA oatpp) web framework.

See more:

Overview

Project layout

|- CMakeLists.txt                         // projects CMakeLists.txt
|- src/
|    |
|    |- WSListener.hpp                    // WebSocket listeners are defined here
|    |- App.cpp                           // main() is here
|
|- utility/install-oatpp-modules.sh       // utility script to install required oatpp-modules.  

Build and Run

Using CMake

Requires: oatpp, and oatpp-websocket modules installed. You may run utility/install-oatpp-modules.sh script to install required oatpp modules.

After all dependencies satisfied:

$ mkdir build && cd build
$ cmake ..
$ make 
$ ./websocket-client-exe       # - run application.