dev-master
9999999-dev
MIT
The Requires
The Development Requires
by Alexey Kupershtokh
dev-guzzle
dev-guzzle
MIT
The Requires
The Development Requires
by Alexey Kupershtokh
Wallogit.com
2017 © Pedro Peláez
A PHP bundle to assist your nginx_push_stream_module installation: 1. Generate links on server side. 2. Publish messages. 3. Automatically generate ids for messages on server side. 4. Filter tokens: 1. Hash token names in order to make them unpredictable and thus more secure. 2. Prefix tokens to separate your applications sharing the same nginx_push_stream_module locations., (*2)
composer require alawar/nginx_push_stream_bundle dev-master, (*3)
In Symfony2 you should register the bundle. Then add the following config:, (*4)
nginx_push_stream:
pub_url: http://.../pub?id={token}
sub_urls:
polling: http://.../sub-p/{tokens}
long-polling: http://.../sub-lp/{tokens}
streaming: http://.../sub-s/{tokens}
eventsource: http://.../sub-ev/{tokens}
MIT
MIT