ProtostellarRequest
Table of Contents
-
$absoluteTimeout
: float
-
$context
: array<string|int, mixed>|null
-
$grpcRequest
: mixed
-
$idempotent
: bool
-
$retryAttempts
: int
-
$retryReasons
: array<string|int, mixed>
-
$retryStrategy
: RetryStrategy
-
__construct()
: mixed
-
absoluteTimeout()
: float
-
appendContext()
: void
-
cancelDueToTimeout()
: RequestBehaviour
-
context()
: array<string|int, mixed>|null
-
grpcRequest()
: mixed
-
idempotent()
: bool
-
incrementRetryAttempts()
: void
-
retryAttempts()
: int
-
retryReasons()
: array<string|int, mixed>|null
-
retryStrategy()
: RetryStrategy
-
timeoutElapsed()
: bool
$absoluteTimeout
private
float
$absoluteTimeout
$context
private
array<string|int, mixed>|null
$context
$grpcRequest
private
mixed
$grpcRequest
$idempotent
private
bool
$idempotent
$retryAttempts
private
int
$retryAttempts
$retryReasons
private
array<string|int, mixed>
$retryReasons
$retryStrategy
private
RetryStrategy
$retryStrategy
__construct()
public
__construct(bool $idempotent, RetryStrategy $retryStrategy, float $absoluteTimeout, mixed $grpcRequest) : mixed
Parameters
-
$idempotent
: bool
-
-
$retryStrategy
: RetryStrategy
-
-
$absoluteTimeout
: float
-
-
$grpcRequest
: mixed
-
Return values
mixed
—
absoluteTimeout()
public
absoluteTimeout() : float
Return values
float
—
appendContext()
public
appendContext(string $key, string|array<string|int, mixed> $value) : void
Parameters
-
$key
: string
-
-
$value
: string|array<string|int, mixed>
-
Return values
void
—
cancelDueToTimeout()
public
cancelDueToTimeout() : RequestBehaviour
Return values
RequestBehaviour
—
context()
public
context() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
—
grpcRequest()
public
grpcRequest() : mixed
Return values
mixed
—
idempotent()
public
idempotent() : bool
Return values
bool
—
incrementRetryAttempts()
public
incrementRetryAttempts(RetryReason $reason) : void
Parameters
-
$reason
: RetryReason
-
Return values
void
—
retryAttempts()
public
retryAttempts() : int
Return values
int
—
retryReasons()
public
retryReasons() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
—
retryStrategy()
public
retryStrategy() : RetryStrategy
Return values
RetryStrategy
—
timeoutElapsed()
public
timeoutElapsed() : bool
Return values
bool
—