Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 436 Bytes

README.mkd

File metadata and controls

19 lines (12 loc) · 436 Bytes

Simple long-polling example

A simple web polling example based on Flask and Flask-restful on server side and jQuery on client side.

Requirements:

  • Flask-restful (pip install flask-restful).

How to try it:

  • Clone the repository
  • Execute the server (python server.py)
  • Open the url http://127.0.0.1:5000/
  • Change and savedata.txt to see how it works