Guzzle6HttpHandler
class Guzzle6HttpHandler (View source)
Traits
A trait used to call a PSR-3 logging interface.
Methods
                    __construct(ClientInterface $client, LoggerInterface|null $logger = null)
                                            
                
            No description
                    ResponseInterface
                
                
                    __invoke(RequestInterface $request, array $options = [])
                                            
                
            Accepts a PSR-7 request and an array of options and returns a PSR-7 response.
                    PromiseInterface
                
                
                    async(RequestInterface $request, array $options = [])
                                            
                
            Accepts a PSR-7 request and an array of options and returns a PromiseInterface
                    requestLog(RequestInterface $request, array $options)
                                            
                
            No description
                    void
                
                
                
            Details
        
        
    __construct(ClientInterface $client, LoggerInterface|null $logger = null)
        
    
    No description
        
                            ResponseInterface
    __invoke(RequestInterface $request, array $options = [])
        
    
    Accepts a PSR-7 request and an array of options and returns a PSR-7 response.
        
                            PromiseInterface
    async(RequestInterface $request, array $options = [])
        
    
    Accepts a PSR-7 request and an array of options and returns a PromiseInterface
        
                            RpcLogEvent
    requestLog(RequestInterface $request, array $options)
        
    
    | internal | 
No description
        
                            void
    responseLog(ResponseInterface $response, RpcLogEvent $requestEvent)
        
    
    | internal | 
No description