cWebsocket is lightweight websocket server library written in C. This library include functions for easy creating websocket server. It implements websocket protocol rfc6455.
This is a fork of the project here using ESP32 hardware cryptography.
Pure C.
It's tiny!
It very easy to embed in any your application at any platform.
Library design was made with microcontrollers architecture in mind.
MIT Licensed.
With this library you can turn your ESP32 to websocket server and get realtime properties from your microcontroller only with browser!
Uses hardware cryptography from ESP32 for SHA1 and Base64, no software crypto needed!
The server wrapper uses a total of three FreeRTOS tasks for any number of sockets (default 5 max). Can handle messages 0.2 ms apart.
- secure websocket
- websocket extensions
- websocket subprotocols
- status codes
- cookies and/or authentication-related header fields
- continuation frame (all payload data must be encapsulated into one websocket frame)
- big frames, which payload size bigger than 0xFFFF