Merge branch 'doc-test'
This commit is contained in:
commit
f71676f08f
@ -86,5 +86,5 @@ class MyChat implements MessageComponentInterface {
|
|||||||
// Then some JavaScript in the browser:
|
// Then some JavaScript in the browser:
|
||||||
var conn = new WebSocket('ws://localhost:8080/echo');
|
var conn = new WebSocket('ws://localhost:8080/echo');
|
||||||
conn.onmessage = function(e) { console.log(e.data); };
|
conn.onmessage = function(e) { console.log(e.data); };
|
||||||
conn.send('Hello Me!');
|
conn.onopen = function(e) { conn.send('Hello Me!'); };
|
||||||
```
|
```
|
||||||
|
@ -29,4 +29,7 @@
|
|||||||
, "symfony/http-foundation": "^2.2|^3.0"
|
, "symfony/http-foundation": "^2.2|^3.0"
|
||||||
, "symfony/routing": "^2.2|^3.0"
|
, "symfony/routing": "^2.2|^3.0"
|
||||||
}
|
}
|
||||||
|
, "require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.8"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user