PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.4
Booking for Appointments and Events Calendar – Amelia v2.4.4
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / vendor / apimatic / core-interfaces / src / Http / HttpConfigurations.php
ameliabooking / vendor / apimatic / core-interfaces / src / Http Last commit date
HttpClientInterface.php 1 year ago HttpConfigurations.php 1 year ago RetryOption.php 1 year ago
HttpConfigurations.php
52 lines
1 <?php
2
3 namespace CoreInterfaces\Http;
4
5 interface HttpConfigurations
6 {
7 /**
8 * Get timeout for API calls in seconds.
9 */
10 public function getTimeout(): int;
11
12 /**
13 * Get whether to enable retries and backoff feature.
14 */
15 public function shouldEnableRetries(): bool;
16
17 /**
18 * Get the number of retries to make.
19 */
20 public function getNumberOfRetries(): int;
21
22 /**
23 * Get the retry time interval between the endpoint calls.
24 */
25 public function getRetryInterval(): float;
26
27 /**
28 * Get exponential backoff factor to increase interval between retries.
29 */
30 public function getBackOffFactor(): float;
31
32 /**
33 * Get the maximum wait time in seconds for overall retrying requests.
34 */
35 public function getMaximumRetryWaitTime(): int;
36
37 /**
38 * Get whether to retry on request timeout.
39 */
40 public function shouldRetryOnTimeout(): bool;
41
42 /**
43 * Get http status codes to retry against.
44 */
45 public function getHttpStatusCodesToRetry(): array;
46
47 /**
48 * Get http methods to retry against.
49 */
50 public function getHttpMethodsToRetry(): array;
51 }
52