Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
web
README.md
appweb.conf
file.txt
output.c
start.me

README.md

ESP WebSockets Sample

This sample demonstrates writing large, streaming response without blocking, buffering or consuming excessive memory. This sends a large file as a single web socket message using multiple frames.

The sample is implemented as an ESP controler with one action. A test web page initiates the client WebSocket request to retrieve the file. To run, browse to:

http://localhost:8080/index.html

Requirements

To build:

me 

To run:

me run

The server listens on port 8080. Browse to:

 http://localhost:8080/index.html

This opens a web socket and and listens for WebSocket data sent by the server. It will display the received data in the browser window.

Code:

  • cache - Directory for compiled ESP modules
  • appweb.conf - Appweb server configuration file
  • echo.c - WebSockets echo server code
  • start.me - MakeMe build instructions
  • web - Directory containing the index.html web page

Documentation:

See Also: