src/Socket/Controller.php
function close($data = null, bool $raw = false) {
        $this->_router->connection->close($data, $raw);
    }
function close($data = null, bool $raw = false) {
        $this->_router->connection->close($data, $raw);
    }
向客户端发送数据并关闭连接

@param mixed $data
@param bool $raw