Download the PHP package necromant2005/tt-long-pooling without Composer
On this page you can find all versions of the php package necromant2005/tt-long-pooling. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download necromant2005/tt-long-pooling
More information about necromant2005/tt-long-pooling
Files in necromant2005/tt-long-pooling
Download necromant2005/tt-long-pooling
More information about necromant2005/tt-long-pooling
Files in necromant2005/tt-long-pooling
Vendor necromant2005
Package tt-long-pooling
Short Description long pooling based on React
License MIT
Homepage https://github.com/necromant2005/tt-long-pooling
Package tt-long-pooling
Short Description long pooling based on React
License MIT
Homepage https://github.com/necromant2005/tt-long-pooling
Keywords reactlong pooling
Please rate this library. Is it a good library?
Informations about the package tt-long-pooling
tt-long-pooling
Introduction
PHP long pooling
Installation
Main Setup
With composer
- Add this to your composer.json:
Usage
- $callsLimit - system iterations count;
- $callback - function to call in each iteration;
- $done - responce on done;
- $wait - responce on wait;
- $error - responce on error;
- $listen - array of listened ports;
- $timePeriod - iteration time period;
$callback function will be called $callsLimit times. If $callback returns 'true' then responce with $done as body will be returned . If $callback returns 'false' and there is no $callsLimit to execute then response with $wait as body will be returned. If callback returns nor 'true' nor 'false' then response with $error as body will be returned .
All versions of tt-long-pooling with dependencies
PHP Build Version
Package Version
The package necromant2005/tt-long-pooling contains the following files
Loading the files please wait ....