MCPcopy
hub / github.com/jhao104/proxy_pool / get

Function get

api/proxyApi.py:60–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58
59@app.route('/get/')
60def get():
61 https = request.args.get("type", "").lower() == 'https'
62 proxy = proxy_handler.get(https)
63 return proxy.to_dict if proxy else {"code": 0, "src": "no proxy"}
64
65
66@app.route('/pop/')

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected