
onClose hook is triggered upon is CloseConnection command (server side) now. Allowing applications to handle any final executions before the connection is closed. Updated some API documentation.
9 lines
227 B
PHP
9 lines
227 B
PHP
<?php
|
|
namespace Ratchet\Protocol\WebSocket\Command\Action;
|
|
use Ratchet\Command\ActionTemplate;
|
|
use Ratchet\SocketObserver;
|
|
|
|
class Ping extends ActionTemplate {
|
|
public function execute(SocketObserver $scope = null) {
|
|
}
|
|
} |