src/MysqlProxy.php
public function send(...$data)
    {
        if ($this->isDuplex) {
            if ($this->client->isConnected()) {
                return $this->client->send(...$data);
            } else {
                return false;
            }
        } else {
            $client = self::coPop($this->mysqlClient);
            if ($client === false) {
                //连接关闭或超时
                return false;
            }
            if ($client->isConnected()) {
                $result = $client->send(...$data);
                $this->mysqlClient->push($client);
                return $result;
            }
            return false;
        }
    }
public function send(...$data)
    {
        if ($this->isDuplex) {
            if ($this->client->isConnected()) {
                return $this->client->send(...$data);
            } else {
                return false;
            }
        } else {
            $client = self::coPop($this->mysqlClient);
            if ($client === false) {
                //连接关闭或超时
                return false;
            }
            if ($client->isConnected()) {
                $result = $client->send(...$data);
                $this->mysqlClient->push($client);
                return $result;
            }
            return false;
        }
    }
send.

@param mixed ...$data

@return bool