HTTP Server, WebSocket support

Dependencies:   EthernetInterface HTTPD mbed-rtos mbed mbed-rpc

HTTP Server library
for EthernetInterface or compatible interface

multi connection, keep alive support.

Filesystem:

http://192.168.1.2/mbed.htm

CGI:

http://192.168.1.2/cgi-bin/test?query

WebSocket:

ws://192.168.1.2/ws/test

RPC:

http://192.168.1.2/rpc/DigitalOut/new%20LED4%20myled
http://192.168.1.2/rpc/myled/write%201

Import libraryHTTPD

HTTP Server, WebSocket support

HTTPD.h

#define HTTPD_PORT 80
#define HTTPD_MAX_CLIENTS 2
#define HTTPD_KEEPALIVE 10

Revision graph

The revision graph only works with JavaScript-enabled browsers.