Interface IMessageHeaders
- Namespace
- AnyProtocol.Abstraction
- Assembly
- AnyProtocol.Abstraction.dll
Defines operations for message headers.
public interface IMessageHeaders : IReadOnlyDictionary<string, string>, IReadOnlyCollection<KeyValuePair<string, string>>, IEnumerable<KeyValuePair<string, string>>, IEnumerable
- Inherited Members
- Extension Methods
Properties
this[string]
Indicates this[string].
string? this[string key] { get; set; }
Parameters
keystring
Property Value
- string
The this[string].
Methods
Remove(string)
Performs the remove operation.
bool Remove(string key)
Parameters
keystringThe key that identifies the value.
Returns
- bool
true when the operation succeeds; otherwise, false.
Set(string, string)
Performs the set operation.
void Set(string key, string value)