WIP
This commit is contained in:
		@@ -4,6 +4,7 @@ namespace App\Services\Feeds;
 | 
			
		||||
 | 
			
		||||
use Goutte\Client;
 | 
			
		||||
use Illuminate\Support\Carbon;
 | 
			
		||||
use Symfony\Component\HttpClient\HttpClient;
 | 
			
		||||
 | 
			
		||||
class AdhadhuFeed implements Feed
 | 
			
		||||
{
 | 
			
		||||
@@ -11,15 +12,11 @@ class AdhadhuFeed implements Feed
 | 
			
		||||
 | 
			
		||||
    public function __construct()
 | 
			
		||||
    {
 | 
			
		||||
        $client = new Client();
 | 
			
		||||
 | 
			
		||||
        $guzzleClient = new \GuzzleHttp\Client([
 | 
			
		||||
            "proxy" => config('karudhaas.proxy.host')
 | 
			
		||||
        ]);
 | 
			
		||||
 | 
			
		||||
        $client->setClient($guzzleClient);
 | 
			
		||||
 | 
			
		||||
        $this->client = $client;
 | 
			
		||||
        $this->client = new Client(
 | 
			
		||||
            HttpClient::create([
 | 
			
		||||
                "proxy" => config('karudhaas.proxy.')
 | 
			
		||||
            ])
 | 
			
		||||
        );
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user