Skip to content

Commit f8b806d

Browse files
committed
Derive from HttpClientHandler on all platforms, not just PLib
1 parent 7b52402 commit f8b806d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ModernHttpClient/Android/OkHttpNetworkHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
namespace ModernHttpClient
1616
{
17-
public class NativeMessageHandler : HttpMessageHandler
17+
public class NativeMessageHandler : HttpClientHandler
1818
{
1919
readonly OkHttpClient client = new OkHttpClient();
2020
readonly bool throwOnCaptiveNetwork;

src/ModernHttpClient/iOS/NSUrlSessionHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class InflightOperation
2929
public bool IsCompleted { get; set; }
3030
}
3131

32-
public class NativeMessageHandler : HttpMessageHandler
32+
public class NativeMessageHandler : HttpClientHandler
3333
{
3434
readonly NSUrlSession session;
3535

0 commit comments

Comments
 (0)