IHeaderDictionary Interface
Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
public interface IHeaderDictionary : IReadableStringCollection,
IDictionary<string, string[]>, ICollection<KeyValuePair<string, string[]>>,
IEnumerable<KeyValuePair<string, string[]>>, IEnumerable
public interface class IHeaderDictionary : IReadableStringCollection,
IDictionary<String^, array<String^>^>, ICollection<KeyValuePair<String^, array<String^>^>>,
IEnumerable<KeyValuePair<String^, array<String^>^>>, IEnumerable
type IHeaderDictionary =
interface
interface IReadableStringCollection
interface IDictionary<string, string[]>
interface ICollection<KeyValuePair<string, string[]>>
interface IEnumerable<KeyValuePair<string, string[]>>
interface IEnumerable
end
Public Interface IHeaderDictionary
Inherits IReadableStringCollection, IDictionary(Of String, String()),
ICollection(Of KeyValuePair(Of String, String())), IEnumerable(Of KeyValuePair(Of String, String())),
IEnumerable
Properties
Name | Description | |
---|---|---|
Count | (Inherited from ICollection<T>.) |
|
IsReadOnly | (Inherited from ICollection<T>.) |
|
Item[String] | Get or sets the associated value from the collection as a single string. |
|
Keys | (Inherited from IDictionary<TKey, TValue>.) |
|
Values | (Inherited from IDictionary<TKey, TValue>.) |
Methods
Name | Description | |
---|---|---|
Add(T) | (Inherited from ICollection<T>.) |
|
Add(TKey, TValue) | (Inherited from IDictionary<TKey, TValue>.) |
|
Append(String, String) | Add a new value. Appends to the header if already present |
|
AppendCommaSeparatedValues(String, String[]) | Quotes any values containing comas, and then coma joins all of the values with any existing values. |
|
AppendValues(String, String[]) | Add new values. Each item remains a separate array entry. |
|
Clear() | (Inherited from ICollection<T>.) |
|
Contains(T) | (Inherited from ICollection<T>.) |
|
ContainsKey(TKey) | (Inherited from IDictionary<TKey, TValue>.) |
|
CopyTo(T[], Int32) | (Inherited from ICollection<T>.) |
|
Get(String) | Get the associated value from the collection. Multiple values will be merged. Returns null if the key is not present.(Inherited from IReadableStringCollection.) |
|
GetCommaSeparatedValues(String) | Get the associated values from the collection separated into individual values. Quoted values will not be split, and the quotes will be removed. |
|
GetEnumerator() | (Inherited from IEnumerable<T>.) |
|
GetValues(String) | Get the associated values from the collection in their original format. Returns null if the key is not present.(Inherited from IReadableStringCollection.) |
|
Remove(TKey) | (Inherited from IDictionary<TKey, TValue>.) |
|
Remove(T) | (Inherited from ICollection<T>.) |
|
Set(String, String) | Sets a specific header value. |
|
SetCommaSeparatedValues(String, String[]) | Quotes any values containing comas, and then coma joins all of the values. |
|
SetValues(String, String[]) | Sets the specified header values without modification. |
|
TryGetValue(TKey, TValue) | (Inherited from IDictionary<TKey, TValue>.) |
See Also
Return to top