jQuery LongPoll client script
Simple client-side longpoll implementation.
Usage
Create
var config = url: '/url/to/polling' params: t: 1485714246 { // your callback function console; };jQuerylongpollstart;
The server should return JSON data in follow structure:
Stop
jQuerylongpoll;
Destroy
jQuerylongpoll;
License
BSD-3-Clause