lib/BlockCypher/Core/BlockCypherHttpConfig.php
public function addHeader($name, $value, $overWrite = true)
    {
        if (!array_key_exists($name, $this->headers) || $overWrite) {
            $this->headers[$name] = $value;
        } else {
            $this->headers[$name] = $this->headers[$name] . self::HEADER_SEPARATOR . $value;
        }
    }
public function addHeader($name, $value, $overWrite = true)
    {
        if (!array_key_exists($name, $this->headers) || $overWrite) {
            $this->headers[$name] = $value;
        } else {
            $this->headers[$name] = $this->headers[$name] . self::HEADER_SEPARATOR . $value;
        }
    }
public function addHeader ( $ name , $ value , $ overWrite = true ) { if ( ! array_key_exists ( $ name , $ this -> headers ) || $ overWrite ) { $ this -> headers [ $ name ] = $ value ; } else { $ this -> headers [ $ name ] = $ this -> headers [ $ name ] . self :: HEADER_SEPARATOR . $ value ; } }
Adds a Header

@param      $name
@param      $value
@param bool $overWrite allows you to override header value
Adds a Header