Durable Workflow PHP SDK — API Reference

Guides

PayloadUploadTransport extends Transport

Optional upload capability; download-only custom transports remain compatible.

Table of Contents

Methods

send()  : array<string, mixed>|array<int, mixed>|null
uploadPayload()  : array<string, mixed>
Upload encoded bytes without redirects; return a bounded JSON response.

Methods

send()

public send(string $method, string $uri, array<string, string> $headers[, array<string, mixed>|null $body = null ]) : array<string, mixed>|array<int, mixed>|null
Parameters
$method : string
$uri : string
$headers : array<string, string>
$body : array<string, mixed>|null = null
Return values
array<string, mixed>|array<int, mixed>|null

uploadPayload()

Upload encoded bytes without redirects; return a bounded JSON response.

public uploadPayload(string $uri, array<string, string> $headers, string $blob, int $timeoutSeconds) : array<string, mixed>
Parameters
$uri : string
$headers : array<string, string>
$blob : string
$timeoutSeconds : int
Return values
array<string, mixed>
On this page

Search results