class RequestFactory

HTTP request factory.

Traits

Strict class for better experience.

Constants

CHARS

Properties

array $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 40
RequestFactory setBinary(bool $binary = true)

Parameters

bool $binary

Return Value

RequestFactory

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

Parameters

string|string[] $proxy

Return Value

RequestFactory

at line 61
Request fromGlobals()

Returns new Request instance, using values from superglobals.

Return Value

Request

at line 351
Request createHttpRequest() deprecated

deprecated

Return Value

Request