We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8755fcf commit 65b4b74Copy full SHA for 65b4b74
README.md
@@ -83,6 +83,22 @@ new UpCompletionHandler() {
83
...
84
```
85
86
+### 使用 http3 协议发起请求
87
+```java
88
+import com.qiniu.client.curl.CurlClient;
89
+import com.qiniu.android.storage.Configuration;
90
+import com.qiniu.android.storage.UploadManager;
91
+
92
+// @param caPath: SSL 证书本地路径;如果想自定义 CA 可设置此选项,此处为 CA 文件的本地路径。
93
+// 如果未定义(caPath 配置 null)则使用 SDK 内部提供的 CA 证书,证书来源:https://curl.se/ca/cacert.pem
94
+CurlClient client = new CurlClient(caPath);
95
+Configuration config = new Configuration.Builder()
96
+ .requestClient(client)
97
+ .build();
98
+UploadManager manager = new UploadManager(config);
99
+```
100
101
102
## 测试
103
104
``` bash
0 commit comments