Flow PHP

ResponseConfig

Read onlyYes
FinalYes

Methods

__construct()  : mixed
bodySizeLimit()  : int
excludeStatusCodes()  : array<string|int, int>
includeBody()  : bool
includeHeaders()  : array<string|int, string>
includeReasonPhrase()  : bool
includeStatus()  : bool

Methods

__construct()

public __construct([bool $withReasonPhrase = true ][, bool $withStatus = true ][, bool $withBody = false ][, int $bodySizeLimit = 1024 * 1024 * 32 ][, array<string|int, mixed> $withoutStatusCodes = [] ][, array<string|int, mixed> $headers = ['cache-control', 'location', 'set-cookie', 'server', 'expires', 'content-type', 'content-length', 'last-modified', 'kee-alive', 'referrer-policy', 'etag'] ]) : mixed
Parameters
$withReasonPhrase : bool = true
$withStatus : bool = true
$withBody : bool = false
$bodySizeLimit : int = 1024 * 1024 * 32
$withoutStatusCodes : array<string|int, mixed> = []
$headers : array<string|int, mixed> = ['cache-control', 'location', 'set-cookie', 'server', 'expires', 'content-type', 'content-length', 'last-modified', 'kee-alive', 'referrer-policy', 'etag']

excludeStatusCodes()

public excludeStatusCodes() : array<string|int, int>
Return values
array<string|int, int>

includeHeaders()

public includeHeaders() : array<string|int, string>
Return values
array<string|int, string>

includeReasonPhrase()

public includeReasonPhrase() : bool
Return values
bool

includeStatus()

public includeStatus() : bool
Return values
bool

        
On this page

Search results