Class Response Stores the response so the correct headers can go out before the response output is shown.
Methods | ||
---|---|---|
public
|
addHeader(string $header): void
|
# |
public
|
getHeaders(): array<int, string>
|
# |
public
|
redirect(string $url, int $status = 302): void
|
# |
public
|
setCompression(int $level): void
|
# |
public
|
setOutput(string $output): void
|
# |
public
|
getOutput(): string
|
# |
public
|
output(): void
|
# |