Table of Contents

AddOrUpdateHeaders Method

Definition

AddOrUpdateHeaders(IHeaderDictionary, HttpResponseHeaders)

Attempts to add or update one or more elements from the provided collection of responseHeaders to the IHeaderDictionary.

public static void AddOrUpdateHeaders(this IHeaderDictionary dictionary, HttpResponseHeaders responseHeaders)

Parameters

dictionary IHeaderDictionary

The IHeaderDictionary to extend.

responseHeaders HttpResponseHeaders

The HttpResponseHeaders to copy.