src/DdvRestfulApi/Lib/RequestHeaders.php
public function getXHeaders()
    {
        $r = [];
        foreach ($this->xHeadersKeys as $key) {
            if (isset($this->headers[$key])) {
                $r[$key] = $this->headers[$key];
            }
        }
        return $r;

    }
public function getXHeaders()
    {
        $r = [];
        foreach ($this->xHeadersKeys as $key) {
            if (isset($this->headers[$key])) {
                $r[$key] = $this->headers[$key];
            }
        }
        return $r;

    }
获取头信息[自定义]