src/Support/Http.php
public function setHeaders(array $headers = [])
    {
        $originHeaders = empty($this->headers) ? [] : $this->headers;
        $this->headers = array_merge($originHeaders, $headers);

        return $this;
    }
public function setHeaders(array $headers = [])
    {
        $originHeaders = empty($this->headers) ? [] : $this->headers;
        $this->headers = array_merge($originHeaders, $headers);

        return $this;
    }
Set Http Client Headers

@param array $headers