AddOrUpdateHeaders Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Http
- Assemblies
- Cuemon.Extensions.AspNetCore.dll
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
dictionaryIHeaderDictionaryThe IHeaderDictionary to extend.
responseHeadersHttpResponseHeadersThe HttpResponseHeaders to copy.