class ResponseHeaderBag extends ResponseHeaderBag

Response headers optimized for Swoole emission.

Methods

array
all(string|null $key = null)

Return response headers without materializing unrelated values.

bool
has(string $key)

Determine whether a response header is present.

array
allPreserveCaseWithoutCookies()

Return headers with their original capitalization, excluding cookies.

Details

at line 18
array all(string|null $key = null)

Return response headers without materializing unrelated values.

Parameters

string|null $key

Return Value

array

at line 35
bool has(string $key)

Determine whether a response header is present.

Parameters

string $key

Return Value

bool

at line 48
array allPreserveCaseWithoutCookies()

Return headers with their original capitalization, excluding cookies.

Return Value

array