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

Function pop

api/proxyApi.py:67–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66@app.route('/pop/')
67def pop():
68 https = request.args.get("type", "").lower() == 'https'
69 proxy = proxy_handler.pop(https)
70 return proxy.to_dict if proxy else {"code": 0, "src": "no proxy"}
71
72
73@app.route('/refresh/')

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected