WebSockets with C++

Published at March 3, 2022 ·  2 min read

I have wrap libwebsockets (lws) in c++ classes to implement WebSockets on c++. It gives a simple way to work with lws and create a WebSocket connection with a few lines of code. The architecture of the lws is hierarchical. It has several protocols, and each protocol includes detail like address, path, destination port (443,9443), and WebSocket interface (WSI). A protocol can serve several services, where the users should subscribe to it....

REST API Server with c++

Published at February 23, 2022 ·  5 min read

Here is a simple project to implement a general REST API service module in c++ using reasbed library. The library uses a modern c++ to implement REST API calls. And it is possible to use the REST service to access databases, access, and control a complex application to help the QA & verification process by accessing internal SW modules. Moreover, the module is simple and easily removed in production modes....