modernHttpClient

Just want to check, the documentation refers to modernhttpclient but I see this library has not been updated for almost 2 years.

I found this link https://www.nuget.org/packages/modernhttpclient-updated/
The project was recently upgraded to .net standard and includes many bug fixes from the original lib that includes OkHttp3

Can we use something like this or is there a reason to not move to a library like this. I saw the following note in this lib “Cookies set with the native handler will be merged into the Cookie header” and not sure if it will play nicely with SS.

Yeah should be fine, it’s just registering a different NativeMessageHandler at the HttpClient level which is a transparent change that ServiceStack has no coupling to.

1 Like