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

Function getAll

api/proxyApi.py:80–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78
79@app.route('/all/')
80def getAll():
81 https = request.args.get("type", "").lower() == 'https'
82 proxies = proxy_handler.getAll(https)
83 return jsonify([_.to_dict for _ in proxies])
84
85
86@app.route('/delete/', methods=['GET'])

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
getAllMethod · 0.45

Tested by

no test coverage detected