File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,10 @@ export declare namespace conf {
189
189
}
190
190
class Config {
191
191
useHttpsDomain : boolean ;
192
+ accelerateUploading : boolean ;
193
+ /**
194
+ * @deprecated 实际已无加速上传能力,使用 accelerateUploading 代替
195
+ */
192
196
useCdnDomain : boolean ;
193
197
ucEndpointsProvider ?: httpc . EndpointsProvider | null ;
194
198
queryRegionsEndpointsProvider ?: httpc . EndpointsProvider | null ;
@@ -346,7 +350,7 @@ export declare namespace form_up {
346
350
export declare namespace resume_up {
347
351
type UploadResult = {
348
352
data : any ;
349
- resp : IncomingMessage ;
353
+ resp : Omit < IncomingMessage , 'url' > & { requestUrls : string [ ] } ;
350
354
}
351
355
352
356
class ResumeUploader {
@@ -588,7 +592,7 @@ export declare namespace httpc {
588
592
// responseWrapper.js
589
593
interface ResponseWrapperOptions < T = any > {
590
594
data : T ;
591
- resp : IncomingMessage ;
595
+ resp : Omit < IncomingMessage , 'url' > & { requestUrls : string [ ] } ;
592
596
}
593
597
594
598
interface ResponseError {
@@ -598,7 +602,7 @@ export declare namespace httpc {
598
602
599
603
class ResponseWrapper < T = any > {
600
604
data : T extends void ? undefined | ResponseError : T & ResponseError ;
601
- resp : IncomingMessage ;
605
+ resp : Omit < IncomingMessage , 'url' > & { requestUrls : string [ ] } ;
602
606
constructor ( options : ResponseWrapperOptions ) ;
603
607
ok ( ) : boolean ;
604
608
needRetry ( ) : boolean ;
You can’t perform that action at this time.
0 commit comments