After upgrading to net5 I'm getting obsoletion warning:
[CS0618] 'HttpRequestMessage.Properties' is obsolete: 'Use Options instead.'
however there seems to be no migration guide.
I.e. there's following code
httpRequestMessage.Properties.Add(Key, Value);
How exactly it should be migrated? Is
httpRequestMessage.Options.Set(new HttpRequestOptionsKey<TValue>(Key), Value);
correct?