MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / proxy

Method proxy

app/src/main/java/com/github/catvod/spider/Proxy.java:16–19  ·  view source on GitHub ↗
(Map<String, String> params)

Source from the content-addressed store, hash-verified

14 private static int port;
15
16 public static Object[] proxy(Map<String, String> params) {
17 if ("ck".equals(params.get("do"))) return new Object[]{200, "text/plain; charset=utf-8", new ByteArrayInputStream("ok".getBytes(StandardCharsets.UTF_8))};
18 return null;
19 }
20
21 public static void init() {
22 try {

Callers

nothing calls this directly

Calls 2

equalsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected