Method TryGetValue
TryGetValue(string, out StringValues)
Retrieves a value from the dictionary.
public bool TryGetValue(string key, out StringValues value)
Parameters
key
stringThe header name.
value
StringValuesThe value.
Returns
- bool
true if the NatsHeaders contains the key; otherwise, false.