Flow PHP

RequestConfig

Read onlyYes
FinalYes

Methods

__construct()  : mixed
bodySizeLimit()  : int
includeBody()  : bool
includeHeaders()  : array<string|int, string>
includeMethod()  : bool
includeUri()  : bool

Methods

__construct()

public __construct([bool $withMethod = true ][, bool $withUri = true ][, bool $withBody = false ][, int $bodySizeLimit = 1024 * 1024 * 32 ][, array<string|int, mixed> $headers = ['host', 'accept', 'user-agent'] ]) : mixed
Parameters
$withMethod : bool = true
$withUri : bool = true
$withBody : bool = false
$bodySizeLimit : int = 1024 * 1024 * 32
$headers : array<string|int, mixed> = ['host', 'accept', 'user-agent']

bodySizeLimit()

public bodySizeLimit() : int
Return values
int

includeBody()

public includeBody() : bool
Return values
bool

includeHeaders()

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

includeMethod()

public includeMethod() : bool
Return values
bool

        
On this page

Search results