src/HttpClientFactory.php
private static function createBaseClient($url, HandlerStack $handlerStack = null)
    {
        $httpClient = new \GuzzleHttp\Client(
            [
                'base_uri' => $url,
                'handler'  => $handlerStack,
                'headers'  => [
                    'Content-Type' => 'application/json',
                    'User-Agent'   => 'bunq-api-client:user',
                ],
            ]
        );

        return $httpClient;
    }
private static function createBaseClient($url, HandlerStack $handlerStack = null)
    {
        $httpClient = new \GuzzleHttp\Client(
            [
                'base_uri' => $url,
                'handler'  => $handlerStack,
                'headers'  => [
                    'Content-Type' => 'application/json',
                    'User-Agent'   => 'bunq-api-client:user',
                ],
            ]
        );

        return $httpClient;
    }
private static function createBaseClient ( $ url , HandlerStack $ handlerStack = null ) { $ httpClient = new \ GuzzleHttp \ Client ( [ 'base_uri' => $ url , 'handler' => $ handlerStack , 'headers' => [ 'Content-Type' => 'application/json' , 'User-Agent' => 'bunq-api-client:user' , ] , ] ) ; return $ httpClient ; }
Returns the standard used headers.

@param string            $url
@param HandlerStack|null $handlerStack

@return ClientInterface
Returns the standard used headers .