GatewayTimeout
Less than 1 minute
GatewayTimeout
HTTP 504 Gateway Timeout response class.
class GatewayTimeout extends \Hazaar\Controller\Response\HTTP\ResponseThis error response is given when the server is acting as a gateway or proxy and cannot get a response in time from the upstream server. This typically indicates a network or server issue.
Methods
__construct
Constructs the HTTP 504 Gateway Timeout response.
public __construct(string $contentType = 'text/html'): voidThis constructor initializes the response with a status code of 504 and sets the content type.
Parameters
| Parameter | Type | Description |
|---|---|---|
$contentType | string | The content type of the response. Defaults to text/html. |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000