网络代理

支持HTTP和SOCKS5代理

  1. $uri = 'http://myip.ipip.net/';
  2. echo SaberGM::get($uri, ['proxy' => 'http://127.0.0.1:1087'])->body;
  3. echo SaberGM::get($uri, ['proxy' => 'socks5://127.0.0.1:1086'])->body;