PHPDaemon\SockJS\Application::detachWss PHP Method

detachWss() public method

detachWss
public detachWss ( object $wss ) : boolean
$wss object [@todo description]
return boolean
    public function detachWss($wss)
    {
        if (!$this->wss->contains($wss)) {
            return false;
        }
        $this->wss->detach($wss);
        $wss->unbind('transport', [$this, 'wsHandler']);
        return true;
    }