Flow PHP

HttpDecoder

FinalYes

Rows carry the raw body so response_body has one type; pagination uses structuredBody().

Methods

decode()  : array<int, array<string, mixed>>
structuredBody()  : array<string|int, mixed>

Methods

decode()

public decode(array<int, HttpExchange> $batch) : array<int, array<string, mixed>>
Parameters
$batch : array<int, HttpExchange>
Tags
throws
RuntimeException
Return values
array<int, array<string, mixed>>

structuredBody()

public structuredBody(ResponseInterface $response) : array<string|int, mixed>
Parameters
$response : ResponseInterface
Return values
array<string|int, mixed>
On this page

Search results