Download the PHP package upsub/client without Composer
On this page you can find all versions of the php package upsub/client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor upsub
Package client
Short Description php client for UpSub. A High performance Pub/Sub messaging server for the Web & Cloud.
License MIT
Homepage http://uptime.dk
Package client
Short Description php client for UpSub. A High performance Pub/Sub messaging server for the Web & Cloud.
License MIT
Homepage http://uptime.dk
Please rate this library. Is it a good library?
Informations about the package client
php client
This is the php client for UpSub, its communicating to the Dispatcher via the http protocol. This client is write only and can therefore not listen for message from the Dispatcher.
Only clients with subscription support can listen for message, see the JavaScript client.
Install
The client is published to packagist and can be installed with composer
.
Usage
Options
name: string
: Name the connection, useful for debugging.appID: string
: App identifier for the dispatcher authentication.secret: string
: Secret key for authentication.timeout: int
: If the http request exceeds the timeout then terminate the request, default is5
seconds.
Create a channel
The best way to structure eventstreams is by scoping it in different channels.
Send message
Send message to the UpSub Dispatcher.
License
Released under the MIT License
All versions of client with dependencies
PHP Build Version
Package Version
The package upsub/client contains the following files
Loading the files please wait ....