Docs
This commit is contained in:
parent
6d55e18dec
commit
6e64d1e9d1
@ -9,13 +9,14 @@ Build up your application through simple interfaces and re-use your application
|
|||||||
|
|
||||||
* Supports the RFC6455, HyBi-10+, and Hixie76 protocol versions (at the same time)
|
* Supports the RFC6455, HyBi-10+, and Hixie76 protocol versions (at the same time)
|
||||||
* Tested on Chrome 13 - 20, Firefox 6 - 12, Safari 5.0.1+, iOS 4.2, iOS 5
|
* Tested on Chrome 13 - 20, Firefox 6 - 12, Safari 5.0.1+, iOS 4.2, iOS 5
|
||||||
|
* Ratchet [passes](http://socketo.me/reports/ab/) the [Autobahn Testsuite](http://autobahn.ws/testsuite) (non-binary messages)
|
||||||
|
|
||||||
##Requirements
|
##Requirements
|
||||||
|
|
||||||
Shell access is required and a dedicated machine with root access is recommended.
|
Shell access is required and a dedicated machine with root access is recommended.
|
||||||
To avoid proxy/firewall blockage it's recommended WebSockets are run on port 80, which requires root access.
|
To avoid proxy/firewall blockage it's recommended WebSockets are run on port 80, which requires root access.
|
||||||
Note that you can not run two applications (Apache and Ratchet) on the same port, thus the requirement for a separate machine (for now).
|
Note that you can not run two applications (Apache and Ratchet) on the same port, thus the requirement for a separate machine (for now).
|
||||||
PHP 5.3.2 (or higher) is required with mbstring enabled (*--enable-mbstring* flag during compile time). PHP5.4 is recommended for its performance improvements.
|
PHP 5.3.3 (or higher) is required. If you have access, PHP5.4 is recommended for its performance improvements.
|
||||||
|
|
||||||
Cookies from your domain will be passed to the socket server, allowing you to identify users.
|
Cookies from your domain will be passed to the socket server, allowing you to identify users.
|
||||||
Accessing your website's session data in Ratchet requires you to use [Symfony2 Sessions](http://symfony.com/doc/master/components/http_foundation/sessions.html) on your website.
|
Accessing your website's session data in Ratchet requires you to use [Symfony2 Sessions](http://symfony.com/doc/master/components/http_foundation/sessions.html) on your website.
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
, "require": {
|
, "require": {
|
||||||
"php": ">=5.3.2"
|
"php": ">=5.3.3"
|
||||||
, "react/socket": "0.1.*"
|
, "react/socket": "0.1.*"
|
||||||
, "guzzle/guzzle": "2.5.*"
|
, "guzzle/guzzle": "2.5.*"
|
||||||
, "symfony/http-foundation": "2.1.*"
|
, "symfony/http-foundation": "2.1.*"
|
||||||
|
2
composer.lock
generated
2
composer.lock
generated
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"hash": "c2963a15ac8c0b7ffee78188dff24cd1",
|
"hash": "6d331b3b6c00e17206dc072901df055e",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"package": "evenement/evenement",
|
"package": "evenement/evenement",
|
||||||
|
Loading…
Reference in New Issue
Block a user