protected function pushBasicAuthMiddleware(callable $header)
    {
        $this->stack->push(
            Middleware::mapRequest($header), 'hubtel-header-basicAuth'
        );

        return $this->stack;
    }
protected function pushBasicAuthMiddleware(callable $header)
    {
        $this->stack->push(
            Middleware::mapRequest($header), 'hubtel-header-basicAuth'
        );

        return $this->stack;
    }
protected function pushBasicAuthMiddleware ( callable $ header ) { $ this -> stack -> push ( Middleware :: mapRequest ( $ header ) , 'hubtel-header-basicAuth' ) ; return $ this -> stack ; }
Push the Header Middleware to the Handler Stack containing the
bacic authentication in base64

@param  callable $header Function that accepts a Guzzle RequestInterface
and returns a RequestInterface.
@return \GuzzleHttp\HandlerStack
@see    http://docs.guzzlephp.org/en/stable/handlers-and-middleware.html Guzzle: Handlers and Middlewares.
Push the Header Middleware to the Handler Stack containing the bacic authentication in base64