websocketpp

Header-only C++ library for building WebSocket client/server applications

brewmacoslinux
Try with needOr install directly
Source

About

WebSocket++ is a cross platform header only C++ library

Commands

websocketpp

Examples

Include WebSocket++ headers in a C++ project to build WebSocket servers$ g++ -I/usr/local/include myserver.cpp -o myserver
Create a WebSocket client application using the library's client endpoint$ g++ -I/usr/local/include myclient.cpp -o myclient
Verify WebSocket++ installation by checking header files location$ ls /usr/local/include/websocketpp