You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
430 B
20 lines
430 B
<?php |
|
namespace Ratchet\WebSocket; |
|
use Ratchet\RFC6455\Messaging\MessageBuffer; |
|
|
|
class ConnContext { |
|
/** |
|
* @var \Ratchet\WebSocket\WsConnection |
|
*/ |
|
public $connection; |
|
|
|
/** |
|
* @var \Ratchet\RFC6455\Messaging\MessageBuffer; |
|
*/ |
|
public $buffer; |
|
|
|
public function __construct(WsConnection $conn, MessageBuffer $buffer) { |
|
$this->connection = $conn; |
|
$this->buffer = $buffer; |
|
} |
|
}
|
|
|