code: static function close($data = null, $client_id = null) {
          return $client_id ? Gateway::closeClient($client_id, $data) : Gateway::closeCurrentClient($data);
      }
docs: 向客户端发送数据并关闭连接
  
  @param $data
  @param $client_id
  @return bool