A FREE Lesson by Chiu-Ki Chan
Say you want to restrict your app to talk to one particular domain, via https only. How do you configure that with OkHttp, and how to test that with MockWebServer?
In this lesson you will learn:
- How to set up Certificate Pinning in OkHttp
- How to restrict OkHttp to https only
- How to have MockWebServer use https
- How to have the app and test use a matching socket factory
Watch the Full Lesson Now, for FREE
Code for the Lesson
Pro members: Log in to view the code for this lesson!