#include <WebSocket.h> enum Mode { WS_SERVER, WS_CLIENT, };
WS_SERVER
Server-side WebSocket.
WS_CLIENT
Client-side WebSocket.