mingyoung / dingtalk

[已停止维护]
MIT License
562 stars 115 forks source link

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

Closed xjdata closed 4 years ago

mingyoung commented 4 years ago

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

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

image

xjdata commented 4 years ago

谢谢~