Skip to content

Commit 679b010

Browse files
author
ace-n
committed
Add gae_flex_websocket_server region tag
1 parent c16706a commit 679b010

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

appengine/flexible/websockets/socket-server.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18+
// [START gae_flex_websockets_server]
1819
// Install composer dependencies with "composer install"
1920
// @see http://getcomposer.org for more information.
2021
require __DIR__ . '/vendor/autoload.php';
@@ -30,12 +31,13 @@
3031

3132
$server = IoServer::factory(
3233
new HttpServer(
33-
new WsServer(
34+
new WsServer(
3435
$socketDemo
3536
)
3637
),
3738
$port
3839
);
40+
// [END gae_flex_websockets_server]
3941

4042
if (PHP_SAPI == 'cli') {
4143
$server->run();

0 commit comments

Comments
 (0)