class RequestFactory

HTTP request factory.

Constants

private internal CHARS

Properties

$urlFilters

Methods

setBinary(bool $binary = true)

No description

setProxy(string|string[] $proxy)

No description

fromGlobals()

Returns new Request instance, using values from superglobals.

createHttpRequest() deprecated

No description

Details

at line 37
RequestFactory setBinary(bool $binary = true)

No description

Parameters

bool $binary

Return Value

RequestFactory

at line 47
RequestFactory setProxy(string|string[] $proxy)

No description

Parameters

string|string[] $proxy

Return Value

RequestFactory

at line 57
Request fromGlobals()

Returns new Request instance, using values from superglobals.

Return Value

Request

at line 372
Request createHttpRequest() deprecated

deprecated

No description

Return Value

Request

Traits

Strict class for better experience.