OK
Less than 1 minute
OK
HTTP 200 OK response class.
Represents a successful HTTP response with customizable content and content type.
Methods
__construct
OK constructor.
public __construct(?string $content, string $contentType = 'text/html'): voidParameters
| Parameter | Type | Description |
|---|---|---|
$content | string | the response body content (optional) |
$contentType | string | the MIME type of the response (default: 'text/html') |
Generated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:26 +0000