Class representing a response from a HTTP request made using the FatFree framework.
| Methods | ||
|---|---|---|
public
|
__construct(array<string, mixed>|false $response)
|
# |
public
|
isNetworkError(): bool
|
# |
public
|
isHTTPError(): bool
|
# |
public
|
getBody(): string
|
# |
public
|
getResponseCode(): string
|
# |
public
|
getVersion(): string
|
# |
public
|
getHeader(string $header): string
|
# |
public
|
hasHeader(string $header): bool
|
# |
public
static
|
httpCase(string $str): string
|
# |