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
intincludeBody()
public
includeBody() : bool
Return values
boolincludeHeaders()
public
includeHeaders() : array<string|int, string>
Return values
array<string|int, string>includeMethod()
public
includeMethod() : bool
Return values
boolincludeUri()
public
includeUri() : bool