Table of Contents

Method Add

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

Add(KeyValuePair<string, StringValues>)

Adds a new header item to the collection.

public void Add(KeyValuePair<string, StringValues> item)

Parameters

item KeyValuePair<string, StringValues>

The item to add.

Add(string, StringValues)

Adds the given header and values to the collection.

public void Add(string key, StringValues value)

Parameters

key string

The header name.

value StringValues

The header values.