Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 216.73.216.148
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
cboden /
ratchet /
src /
Ratchet /
WebSocket /
Delete
Unzip
Name
Size
Permission
Date
Action
ConnContext.php
430
B
-rw-r--r--
2017-12-12 09:00
MessageCallableInterface.php
237
B
-rw-r--r--
2017-12-12 09:00
MessageComponentInterface.php
161
B
-rw-r--r--
2017-12-12 09:00
WsConnection.php
1.04
KB
-rw-r--r--
2017-12-12 09:00
WsServer.php
7.2
KB
-rw-r--r--
2017-12-12 09:00
WsServerInterface.php
398
B
-rw-r--r--
2017-12-12 09:00
Save
Rename
<?php namespace Ratchet\WebSocket; use Ratchet\AbstractConnectionDecorator; use Ratchet\RFC6455\Messaging\DataInterface; use Ratchet\RFC6455\Messaging\Frame; /** * {@inheritdoc} * @property \StdClass $WebSocket */ class WsConnection extends AbstractConnectionDecorator { /** * {@inheritdoc} */ public function send($msg) { if (!$this->WebSocket->closing) { if (!($msg instanceof DataInterface)) { $msg = new Frame($msg); } $this->getConnection()->send($msg->getContents()); } return $this; } /** * @param int|\Ratchet\RFC6455\Messaging\DataInterface */ public function close($code = 1000) { if ($this->WebSocket->closing) { return; } if ($code instanceof DataInterface) { $this->send($code); } else { $this->send(new Frame(pack('n', $code), true, Frame::OP_CLOSE)); } $this->getConnection()->close(); $this->WebSocket->closing = true; } }