Table of Contents

Method Set

Namespace
Sisk.Cadente
Assembly
Sisk.Cadente.dll

Set(List<HttpHeader>, in HttpHeader)

Sets an HttpHeader in the list. If a header with the same name already exists, it is removed before the new header is added. This operation is thread-safe.

public static void Set(this List<HttpHeader> headers, in HttpHeader header)

Parameters

headers List<HttpHeader>

The list of HttpHeader to modify.

header HttpHeader

The HttpHeader to set.