CallSettings
class CallSettings
Encapsulates the call settings for an API call.
Constants
INHERIT_TIMEOUT |
|
Methods
static CallSettings[]
load(string $serviceName, array $clientConfig, array $retryingOverrides, array $statusCodes, int $timeoutMillisDefault)
Constructs an array mapping method names to CallSettings.
__construct(array $settings = [])
Construct an instance.
getTimeoutMillis()
No description
getRetrySettings()
No description
getUserHeaders()
No description
merge(CallSettings $otherSettings = null)
Returns a new CallSettings merged from this and another CallSettings object.
Details
at line 69
static CallSettings[]
load(string $serviceName, array $clientConfig, array $retryingOverrides, array $statusCodes, int $timeoutMillisDefault)
Constructs an array mapping method names to CallSettings.
at line 178
__construct(array $settings = [])
Construct an instance.
at line 194
getTimeoutMillis()
at line 199
getRetrySettings()
at line 204
getUserHeaders()
at line 217
CallSettings
merge(CallSettings $otherSettings = null)
Returns a new CallSettings merged from this and another CallSettings object.