From 467c4552a5d0ed38c6e48d621d38401e0f504e4b Mon Sep 17 00:00:00 2001 From: Illia Kovalov Date: Thu, 28 Sep 2017 20:08:58 +0200 Subject: [PATCH] * @param int $keepAliveInterval Seconds between ping calls --- src/Ratchet/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ratchet/App.php b/src/Ratchet/App.php index e3bc5ab..5c7fbf0 100644 --- a/src/Ratchet/App.php +++ b/src/Ratchet/App.php @@ -97,7 +97,7 @@ class App { * @param ComponentInterface $controller Your application to server for the route. If not specified, assumed to be for a WebSocket * @param array $allowedOrigins An array of hosts allowed to connect (same host by default), ['*'] for any * @param string $httpHost Override the $httpHost variable provided in the __construct - * @param int $keepAliveInterval Seconds between ping calls + * @param int $keepAliveInterval Seconds between ping calls. Works for WsServer only * @return ComponentInterface|WsServer */ public function route($path, ComponentInterface $controller, array $allowedOrigins = array(), $httpHost = null, $keepAliveInterval = 30) {