Reference documentation and code samples for the Google API Core Client class RetryMiddleware.
Middleware that adds retry functionality.
Namespace
Google \ ApiCore \ MiddlewareMethods
__construct
| Parameters | |
|---|---|
| Name | Description |
nextHandler |
callable
|
retrySettings |
Google\ApiCore\RetrySettings
|
deadlineMs |
mixed
|
retryAttempts |
mixed
|
__invoke
Modify or observe the API call request and response.
| Parameters | |
|---|---|
| Name | Description |
call |
Google\ApiCore\Call
|
options |
array
|
| Returns | |
|---|---|
| Type | Description |
GuzzleHttp\Promise\PromiseInterface |
|