mingyoung / dingtalk

[已停止维护]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

请问如何设置 http client 的代理呢? 单位内部网络有管理,只能走http代理,谢谢

xjdata opened this issue · comments

commented

传入配置传入个 http 配置项试试:

$config = [
    'http' => [
        'proxy' => [
            // ...
        ]
    ]
];

image

commented

谢谢~