代理集合

测试代理集合内指定代理延迟

对代理集合内指定代理进行延迟测试.必填 query:url、timeout.

get/providers/proxies/{providerName}/{name}/healthcheck

Request

  • Base URL
    http://127.0.0.1:9093
  • URL
    http://127.0.0.1:9093/providers/proxies/{providerName}/{name}/healthcheck
  • Auth
    HTTP bearer

Path parameters

providerNamestring required

代理集合名称.

namestring required

代理名称.

Query parameters

urlstring required
Example:https://www.gstatic.com/generate_204

延迟测试目标 URL.

timeoutinteger required
Example:5000

超时时间(毫秒).源码中该参数缺失或非整数会返回 400.

expectedstring
Example:200-299

期望的 HTTP 状态码,支持范围如 200-299.

Response

延迟(毫秒).

delayinteger

Changes

No recorded changes to this operation across all 2 revisions of this API.