lpsanoy_lenvov f0ec0a6345 上传工具以及库文件 лет назад: 2
..
web f0ec0a6345 上传工具以及库文件 лет назад: 2
Makefile f0ec0a6345 上传工具以及库文件 лет назад: 2
README.md f0ec0a6345 上传工具以及库文件 лет назад: 2
appweb.conf f0ec0a6345 上传工具以及库文件 лет назад: 2
file.txt f0ec0a6345 上传工具以及库文件 лет назад: 2
output.c f0ec0a6345 上传工具以及库文件 лет назад: 2
start.me f0ec0a6345 上传工具以及库文件 лет назад: 2

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:

make

To run:

make 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:

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

Documentation:

See Also: