Monday, April 20, 2020

HttpRequestMessage becomes HttpRequest in .NET Core 3+

var value = request.GetHeader(HttpKeys.QueryTimeout);

 
 

...becomes...

var value = request.Headers[HttpKeys.QueryTimeout];

 
 

(I think.)

No comments:

Post a Comment