Interceptor URLSession Pattern
Apr 14, 2021
Interceptor
Interceptor is a Package that tries to solve problems when need to have some configurations to network API and its response. We need to intercept some information or add global configurations in a centralized form based on the principle of single responsibility. This package's idea is simple, but the implementation requires a bit of preparation, look at the image below.
More information: