alexrainman / ModernHttpClient

ModernHttpClient
MIT License
126 stars 28 forks source link

verifyHostnameCallback does not exist #25

Closed LagniappeRob closed 5 years ago

LagniappeRob commented 5 years ago

I added the section: NativeMessageHandler.verifyHostnameCallback = (hostname, session) => { return true; };

In App.xaml.cs I have: public static NativeMessageHandler handler = new NativeMessageHandler { EnableUntrustedCertificates = true, DisableCaching = true }; public static HttpClient Client = new HttpClient(handler);

I suspect there is something I'm missing or something mismatched but not having much luck finding it (my google-fu is weak today)...

LagniappeRob commented 5 years ago

nevermind... I was on the wrong side of a curly brace...