-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ping and keepAlive function in connection instance
Add action to pong response Add Promise require in composer.json
- Loading branch information
Remi
committed
Dec 12, 2014
1 parent
7bb7b06
commit 6da3b04
Showing
4 changed files
with
154 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,38 @@ | ||
{ | ||
"name": "cboden/ratchet" | ||
, "type": "library" | ||
, "description": "PHP WebSocket library" | ||
, "keywords": ["WebSockets", "Server", "Ratchet", "Sockets"] | ||
, "homepage": "http://socketo.me" | ||
, "license": "MIT" | ||
, "authors": [ | ||
{ | ||
"name": "Chris Boden" | ||
, "email": "[email protected]" | ||
, "role": "Developer" | ||
} | ||
] | ||
, "support": { | ||
"forum": "https://groups.google.com/forum/#!forum/ratchet-php" | ||
, "issues": "https://github.com/ratchetphp/Ratchet/issues" | ||
, "irc": "irc://irc.freenode.org/reactphp" | ||
"name": "cboden/ratchet", | ||
"type": "library", | ||
"description": "PHP WebSocket library", | ||
"keywords": [ | ||
"WebSockets", | ||
"Server", | ||
"Ratchet", | ||
"Sockets" | ||
], | ||
"homepage": "http://socketo.me", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Chris Boden", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
} | ||
, "autoload": { | ||
"psr-0": { | ||
"Ratchet": "src" | ||
} | ||
} | ||
, "require": { | ||
"php": ">=5.3.9" | ||
, "react/socket": "0.3.*|0.4.*" | ||
, "guzzle/http": "~3.6" | ||
, "symfony/http-foundation": "~2.2" | ||
, "symfony/routing": "~2.2" | ||
], | ||
"support": { | ||
"forum": "https://groups.google.com/forum/#!forum/ratchet-php", | ||
"issues": "https://github.com/ratchetphp/Ratchet/issues", | ||
"irc": "irc://irc.freenode.org/reactphp" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"Ratchet": "src" | ||
} | ||
}, | ||
"require": { | ||
"php": ">=5.3.9", | ||
"react/socket": "0.3.*|0.4.*", | ||
"react/promise": ">=1.0,<2.0", | ||
"guzzle/http": "~3.6", | ||
"symfony/http-foundation": "~2.2", | ||
"symfony/routing": "~2.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6da3b04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I have to call these ping functions manually, or is there some parameter I can turn on, and have this auto-scheduled in the loop?