Skip to content

Commit a5b98be

Browse files
author
Vens Chen
committed
update
1 parent 49a7f6c commit a5b98be

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@
1010
> * 支持自定义拦截器(log输出,头部参数处理等)
1111
> * 提供请求等待的加载动画入口
1212
13+
## 引用
14+
15+
在项目的gradle文件引用插件:
16+
```
17+
buildscript {
18+
repositories {
19+
maven {
20+
url 'https://jitpack.io'
21+
}
22+
}
23+
}
24+
```
25+
26+
在app的gradle文件引用依赖:
27+
```
28+
compile 'com.github.chenthreetrees:thttp:1.0.5'
29+
```
30+
1331

1432
## Retrofit中http POST/GET请求(结合了rx)
1533
Retrofit中的网络请求都是通过注解方式的接口方法来表示的,此处只对常用的post和get请求进行说明,

0 commit comments

Comments
 (0)