src/MultiCurlManager.php
protected function prepareRequestHeader(Header $header): array
    {
        $result = [];
        foreach ($header as $name => $value) {
            $result[] = $name . ': ' . $value;
        }
        return $result;
    }
protected function prepareRequestHeader(Header $header): array
    {
        $result = [];
        foreach ($header as $name => $value) {
            $result[] = $name . ': ' . $value;
        }
        return $result;
    }
protected function prepareRequestHeader ( Header $ header ) : array { $ result = [ ] ; foreach ( $ header as $ name => $ value ) { $ result [ ] = $ name . ': ' . $ value ; } return $ result ; }
Prepares the header for the request.
@param Header $header
@return array|string[]
Prepares the header for the request .