MCPcopy Create free account
hub / github.com/FongMi/TV / cancel

Method cancel

catvod/src/main/java/com/github/catvod/net/OkHttp.java:160–162  ·  view source on GitHub ↗
(String tag)

Source from the content-addressed store, hash-verified

158 }
159
160 public static void cancel(String tag) {
161 cancel(client(), tag);
162 }
163
164 public static void cancel(OkHttpClient client, String tag) {
165 for (Call call : client.dispatcher().queuedCalls()) if (tag.equals(call.request().tag())) call.cancel();

Callers 5

cancelMethod · 0.95
newCallMethod · 0.95
cancelMethod · 0.95
loadConfigMethod · 0.95
stopMethod · 0.95

Calls 4

clientMethod · 0.95
tagMethod · 0.80
requestMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected