public static createWithMiddleware ( array $queue = null, callable $onFulfilled = null, callable $onRejected = null ) : GuzzleHttp\HandlerStack | ||
$queue | array | Array of responses, callables, or exceptions. |
$onFulfilled | callable | Callback to invoke when the return value is fulfilled. |
$onRejected | callable | Callback to invoke when the return value is rejected. |
return | GuzzleHttp\HandlerStack |