public function withHeaders(array $headers): self
    {
        return tap($this, function ($request) use ($headers) {
            return $this->options = array_merge_recursive($this->options, [
                'headers' => $headers,
            ]);
        });
    }
public function withHeaders(array $headers): self
    {
        return tap($this, function ($request) use ($headers) {
            return $this->options = array_merge_recursive($this->options, [
                'headers' => $headers,
            ]);
        });
    }
public function withHeaders ( array $ headers ) : self { return tap ( $ this , function ( $ request ) use ( $ headers ) { return $ this -> options = array_merge_recursive ( $ this -> options , [ 'headers' => $ headers , ] ) ; } ) ; }
Send headers with the request.

@param array $headers

@return \BrianFaust\Http\PendingHttpRequest
Send headers with the request .