Methods |
public
|
getHeaders(): array<string, string[]>
Get an array that maps header names to values, preserving the original
case of the first appearance of each header
Get an array that maps header names to values, preserving the original
case of the first appearance of each header
Implemented by
|
#
|
public
|
hasHeader(string $name): bool
Check if a header exists
|
#
|
public
|
getHeader(string $name): string[]
Get the value of a header as a list of values
Get the value of a header as a list of values
Implemented by
|
#
|
public
|
getHeaderLine(string $name): string
Get the value of a header as a string of comma-delimited values
Get the value of a header as a string of comma-delimited values
Implemented by
|
#
|
public
|
getHeaderLines(): array<string, string>
Get an array that maps lowercase header names to comma-separated values
Get an array that maps lowercase header names to comma-separated values
Implemented by
|
#
|
public
|
getHeaderValues(string $name): string[]
Get the value of a header as a list of values, splitting any
comma-separated values
Get the value of a header as a list of values, splitting any
comma-separated values
Implemented by
|
#
|
public
|
getFirstHeaderValue(string $name): string
Get the first value of a header after splitting any comma-separated
values
Get the first value of a header after splitting any comma-separated
values
Implemented by
|
#
|
public
|
getLastHeaderValue(string $name): string
Get the last value of a header after splitting any comma-separated values
Get the last value of a header after splitting any comma-separated values
Implemented by
|
#
|
public
|
getOnlyHeaderValue(string $name, bool $orSame = false): string
Get the only value of a header after splitting any comma-separated values
Get the only value of a header after splitting any comma-separated values
Throws
Implemented by
|
#
|