Catch Guzzle exceptions on connections refused

后端 未结 0 1995

I am using Guzzle with the following code:

try {
    $client = new Client();
    $result = $client->get("http://{$         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题