Durable Workflow PHP SDK — API Reference

Guides

TransportException extends DurableWorkflowException
in package

Table of Contents

Properties

$headers  : array<string, string>
$response  : array<string|int, mixed>|null
$status  : int|null
$transientConnectionFailure  : bool

Methods

__construct()  : mixed
fromResponse()  : self

Properties

$transientConnectionFailure read-only

public bool $transientConnectionFailure = false

Methods

__construct()

public __construct(string $message[, int|null $status = null ][, array<string, mixed>|array<int, mixed>|null $response = null ][, Throwable|null $previous = null ][, bool $transientConnectionFailure = false ][, array<string|int, mixed> $headers = [] ]) : mixed
Parameters
$message : string
$status : int|null = null
$response : array<string, mixed>|array<int, mixed>|null = null
$previous : Throwable|null = null
$transientConnectionFailure : bool = false
$headers : array<string|int, mixed> = []

fromResponse()

public static fromResponse(int $status, array<string, mixed>|array<int, mixed>|null $response, string $rawBody[, array<string, string> $headers = [] ]) : self
Parameters
$status : int
$response : array<string, mixed>|array<int, mixed>|null
$rawBody : string

Retained for compatibility with existing positional and named calls.

$headers : array<string, string> = []
Return values
self
On this page

Search results