an0th3rhuman
04/30/2022, 2:45 AMnkshah2
04/30/2022, 3:48 AMwdjzr
05/01/2022, 6:58 PMwdjzr
05/01/2022, 6:58 PMwdjzr
05/01/2022, 7:18 PMwdjzr
05/01/2022, 7:19 PMwdjzr
05/01/2022, 7:52 PMnkshah2
05/02/2022, 3:20 AMwdjzr
05/02/2022, 9:04 AMwdjzr
05/02/2022, 9:06 AMwdjzr
05/02/2022, 9:07 AMnkshah2
05/02/2022, 9:09 AMhttp
expects you to create a wrapper and then override specific functions to handle adding custom headers, handling auto refreshing etc
Dio
has an easier API for adding request and response interceptors. It works similar to how okhttp handles chaining if you are familiar with that (if not just imagine a chain of operations taking place before/after the actual network handler runs its code, depending on whether its a request or response). They handle responses differently, errors differently and have a different API when compared to http so the same solution doesnt really work for bothnkshah2
05/02/2022, 9:10 AMnkshah2
05/02/2022, 9:12 AMwdjzr
05/02/2022, 9:27 AMnkshah2
05/02/2022, 10:01 AMnkshah2
02/13/2023, 9:51 AM