Interceptors
val forkedClient = defaultHttpClient.fork {
interceptors {
+interceptor1
+interceptor2
}
}Logging Interceptor: A Request Logging Interceptor.
val client = defaultHttpClient.fork {
interceptors {
+LoggingInterceptor()
}
}Retry Interceptor: Provides a configurable method to retry on specific errors.
Signing Interceptor: Enables signing of query parameters. Allowing creation of presigned URLs.
Last updated
Was this helpful?