Star
766
Fork
4993
代码
介绍
代码
Issues
1663
Pull Requests
1778
流水线
Actions
讨论
Wiki
项目成员
906
分析
项目设置
Star
766
Fork
4993
OpenHarmony-5.0.2-Release
docs
/
en
/
application-dev
/
application-models
/
request-switch.md
下载
wusongqing
Update docs against 36642+36125+36603+36700+34513+33855+34520+33517+34134+34513+35077+34363+36427+36446+36532+36562+35157+35312+34363
fab2c017
创建于
2024年2月23日
历史提交
request Switching
API in the FA Model
Corresponding .d.ts File in the Stage Model
Corresponding API in the Stage Model
download(config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
download(config: DownloadConfig): Promise<DownloadTask>;
@ohos.request.d.ts
downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
downloadFile(context: BaseContext, config: DownloadConfig): Promise<DownloadTask>;
upload(config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
upload(config: UploadConfig): Promise<UploadTask>;
@ohos.request.d.ts
uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
uploadFile(context: BaseContext, config: UploadConfig): Promise<UploadTask>;