Created
April 4, 2019 00:42
-
-
Save pyeongho/2b149508ef2d92583298e26f8f2fde60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val d = Observable.just(CertificatePinning(도메인)) | |
.subscribeOn(Schedulers.io()) | |
.map { | |
it.myCert("https://도메인포함 URL") | |
} | |
.subscribe( | |
{ | |
System.out.println() | |
}, | |
{ | |
System.out.println(it.message) | |
}, | |
{} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment