esp-open-rtos/extras/httpd
2017-02-03 07:33:27 +00:00
..
component.mk HTTP server (#324) 2017-01-27 14:38:01 +06:00
fs.c added WebSockets (#331) 2017-02-02 12:17:53 +06:00
fs.h added WebSockets (#331) 2017-02-02 12:17:53 +06:00
fsdata.h added WebSockets (#331) 2017-02-02 12:17:53 +06:00
httpd.c added support for large WebSocket frames 2017-02-03 07:33:27 +00:00
httpd.h added support for large WebSocket frames 2017-02-03 07:33:27 +00:00
httpd_structs.h HTTP server (#324) 2017-01-27 14:38:01 +06:00
readme.txt added support for large WebSocket frames 2017-02-03 07:33:27 +00:00
strcasestr.c added WebSockets (#331) 2017-02-02 12:17:53 +06:00
strcasestr.h added WebSockets (#331) 2017-02-02 12:17:53 +06:00

This is a basic HTTP server with WebSockets based on httpd from LwIP.

WebSockets implementation supports binary and text modes. Multiple sockets are supported. Continuation frames are not implemented.
By default, a WebSocket is closed after 20 seconds of inactivity to conserve memory. This behavior can be changed by overriding `WS_TIMEOUT` option.

To enable debugging extra flags `-DLWIP_DEBUG=1 -DHTTPD_DEBUG=LWIP_DBG_ON` should be passed at compile-time.

This module expects your project to provide "fsdata.c" created with "makefsdata" utility.
See examples/http_server.

Maintained by lujji (https://github.com/lujji/esp-httpd).