Durable Workflow PHP SDK

Psr18Transport
in package
implements Transport

FinalYes

Default PSR-18 JSON transport.

Table of Contents

Interfaces

Transport

Properties

$client  : ClientInterface
$requestFactory  : RequestFactoryInterface
$streamFactory  : StreamFactoryInterface

Methods

__construct()  : mixed
send()  : array<string, mixed>|array<int, mixed>|null

Properties

$requestFactory read-only

private RequestFactoryInterface $requestFactory

$streamFactory read-only

private StreamFactoryInterface $streamFactory

Methods

__construct()

public __construct([ClientInterface|null $client = null ][, RequestFactoryInterface|null $requestFactory = null ][, StreamFactoryInterface|null $streamFactory = null ]) : mixed
Parameters
$client : ClientInterface|null = null
$requestFactory : RequestFactoryInterface|null = null
$streamFactory : StreamFactoryInterface|null = null

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
On this page

Search results