src/Leevel/Protocol/Client/Rpc.php
public function addMetas($key, $value = null)
    {
        $key = is_array($key) ? $key : [
            $key => $value,
        ];

        foreach ($key as $k => $v) {
            $this->metas[$k] = $v;
        }
    }
public function addMetas($key, $value = null)
    {
        $key = is_array($key) ? $key : [
            $key => $value,
        ];

        foreach ($key as $k => $v) {
            $this->metas[$k] = $v;
        }
    }
添加享元数据.

@param array|string $key
@param mixed        $value