@@ -1296,9 +1296,7 @@ HTTPDownloadEx(
12961296 path: string,
12971297 type: Dynamsoft .DWT .EnumDWT_ImageType | number,
12981298 successCallback : () => void ,
1299- failureCallback: (
1300- errorCode: number,
1301- errorString: string) => void
1299+ failureCallback : (errorCode : number , errorString : string ) => void
13021300): void ;
13031301```
13041302
@@ -1383,8 +1381,8 @@ HTTPDownloadThroughPost(
13831381 host: string,
13841382 path: string,
13851383 type: Dynamsoft .DWT .EnumDWT_ImageType | number,
1386- onEmptyResponse : () => void ,
1387- onServerReturnedSomething : (errorCode : number , errorString : string , response : string ) => void ,
1384+ successCallback : () => void ,
1385+ failureCallback : (errorCode : number , errorString : string ) => void ,
13881386): void ;
13891387```
13901388
@@ -1396,12 +1394,11 @@ HTTPDownloadThroughPost(
13961394
13971395` type ` : The format of the file. Please refer to [ EnumDWT_ImageType] ( {{site.info}}api/Dynamsoft_Enum.html#dynamsoftdwtenumdwt_imagetype ) .
13981396
1399- ` onEmptyResponse ` : A callback function that is executed if the response is empty .
1397+ ` successCallback ` : A callback function that is executed if the request succeeds .
14001398
1401- ` onServerReturnedSomething ` : A callback function that is executed if the response is not empty .
1399+ ` failureCallback ` : A callback function that is executed if the request fails .
14021400- ` errorCode ` : The error code.
14031401- ` errorString ` : The error string.
1404- - ` response ` : The response string.
14051402
14061403** Availability**
14071404
0 commit comments