RequestTimeout
Less than 1 minute
RequestTimeout
HTTP 408 Request Timeout response class.
class RequestTimeout extends \Hazaar\Controller\Response\HTTP\ResponseThis response is sent on an idle connection by some servers, even without any previous request by the client. It indicates that the server would like to shut down this unused connection. This is typically used to conserve server resources.
Methods
__construct
Constructs the HTTP 408 Request Timeout response.
public __construct(string $contentType = 'text/html'): voidThis constructor initializes the response with a status code of 408 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