Skip to content

Commit 9727802

Browse files
committed
fix(android): cancelRequest not exported
1 parent 6c80e10 commit 9727802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/https.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ function getClient(reload: boolean = false, timeout: number = 10): okhttp3.OkHtt
346346
return Client;
347347
}
348348

349-
function cancelRequest(tag: string, client: okhttp3.OkHttpClient) {
349+
export function cancelRequest(tag: string, client: okhttp3.OkHttpClient) {
350350
if (notClosedResponses[tag]) {
351351
notClosedResponses[tag].cancel();
352352
return;

0 commit comments

Comments
 (0)