- 发起Http请求,输出返回内容或者下载文件路径
rabbit/httpclient
common_http:
type: Rabbit\Data\Pipeline\Common\HttpRequest
usePool: true
timeout: 30
throttleTime: 60
retry: callable
checkResponseFunc: callable
format: jsonArray
download: false
usePool
连接池数量timeout
超时时间throttleTime
限频间隔retry
重试拦截处理函数checkResponseFunc
校验返回值函数format
格式化方式null|jsonArray|jsonObject|xmlArray|xmlObject|domObject|xpathObject
download
是否下载