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

Method js2Proxy

quickjs/src/main/java/com/fongmi/quickjs/method/Global.java:110–114  ·  view source on GitHub ↗
(Boolean dynamic, Integer siteType, String siteKey, String url, JSObject headers)

Source from the content-addressed store, hash-verified

108 }
109
110 @Keep
111 @JSMethod
112 public String js2Proxy(Boolean dynamic, Integer siteType, String siteKey, String url, JSObject headers) {
113 return getProxy(!dynamic) + String.format("&from=catvod&siteType=%s&siteKey=%s&header=%s&url=%s", siteType, siteKey, URLEncoder.encode(headers.stringify()), URLEncoder.encode(url));
114 }
115
116 @Keep
117 @JSMethod

Callers

nothing calls this directly

Calls 3

getProxyMethod · 0.95
encodeMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected