Created
April 9, 2019 07:31
-
-
Save Unlimity/205190a66f48b54fb8febd264c8c150a 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 client = NinjatoOkHttpClient(okHttpClient) { | |
interceptors += MyRequestInterceptor() | |
interceptors += MyResponseInterceptor() | |
interceptors { | |
request { r -> | |
Log.d(r) | |
r | |
} | |
response { r -> | |
Log.d(r) | |
r | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment