RetryOption.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | namespace CoreInterfaces\Http; |
| 4 | |
| 5 | interface RetryOption |
| 6 | { |
| 7 | /** |
| 8 | * To retry request, ignoring httpMethods whitelist. |
| 9 | */ |
| 10 | const ENABLE_RETRY = "enableRetries"; |
| 11 | |
| 12 | /** |
| 13 | * To disable retries, ignoring httpMethods whitelist. |
| 14 | */ |
| 15 | const DISABLE_RETRY = "disableRetries"; |
| 16 | |
| 17 | /** |
| 18 | * To use global httpMethods whitelist to determine if request needs retrying. |
| 19 | */ |
| 20 | const USE_GLOBAL_SETTINGS = "useGlobalSettings"; |
| 21 | |
| 22 | } |
| 23 |