workerman/http-client 能给每个请求单独设置超时吗?

blesswarrior
    $async_http = new Client([
        'max_conn_per_addr' => 512,
        'keepalive_timeout' => 60,
        'connect_timeout' => 30,
        'timeout' => 60,
    ]);

    $async_http->request() 这个接口里能单独在设置timeout吗?
2483 0 0
0个回答

年代过于久远,无法发表回答
×
🔝