Closed iducool closed 8 years ago
RestSharp.Portable supports SSL/TLS by default due to the support of the underlying HttpClientHandler - except maybe on mono platforms. However, you can work around this problem by creating your own IHttpClientFactory
implementation by deriving from RestSharp.Portable.HttpClient.Impl.DefaultHttpClientFactory
and overriding DefaultHttpClientFactory.CreateMessageHandler
.
You can return a NativeMessageHandler
(from the ModernHttpClient project - which should be available as NuGet package.
Now, your app uses the native NSUrlSession
, which (maybe) solves your problems.
Hi, I am using RestSharp portable version 2.4.3. Now I am planning to use "HTTPS" (either SSL or TSL) in app before uploading it to store. After reading some blogs on internet I am really confused about it. I have few questions
I know that some of the questions are not related to library but I am almost done and stuck at a place and don't want to rework everything with other library. Kindly answer these question in detail.