| 程序包 | 说明 |
|---|---|
| xin.manong.weapon.base.http |
| 限定符和类型 | 方法和说明 |
|---|---|
static HttpRequest |
HttpRequest.buildGetRequest(String requestURL,
Map<String,Object> params)
构建HTTP GET请求
|
static HttpRequest |
HttpRequest.buildPostRequest(String requestURL,
RequestFormat format,
Map<String,Object> params)
构建HTTP POST请求
|
| 限定符和类型 | 方法和说明 |
|---|---|
okhttp3.Response |
HttpClient.execute(HttpRequest httpRequest)
执行HTTP请求
|
Copyright © 2023. All rights reserved.