1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| package com.runt.open.mvi.retrofit.Interceptor;
|
| import java.io.IOException;
|
| import okhttp3.Request;
| import okhttp3.Response;
|
| /**
| * @author Runt(qingingrunt2010 @ qq.com)
| * @purpose
| * @date 8/4/25
| */
| public class LogEncryptInterceptor extends HttpLoggingInterceptor{
|
| @Override
| protected Response proceed(Chain chain, Request request) throws IOException {
| return super.proceed(chain, encryptRequest(request));
| }
| }
|
|