Service
Less than 1 minute
Service
Server-side representation of a connected service process.
class Service extends \Hazaar\Warlock\Server\Client\ClientProperties
name
Service display name.
public string $name = 'Unnamed Service'address
public string $address = 'stream'public $Methods
frame
Frames outbound payloads for newline-delimited service transport.
protected frame(string $payload, ?string $type, bool $masked = true): stringParameters
| Parameter | Type | Description |
|---|---|---|
$payload | string | |
$type | string | |
$masked | bool |
processFrame
Extracts one frame from the inbound newline-delimited buffer.
protected processFrame(string $frameBuffer): mixedParameters
| Parameter | Type | Description |
|---|---|---|
$frameBuffer | string |
commandStatus
Stores the latest service status payload.
protected commandStatus(?\stdClass $payload): boolParameters
| Parameter | Type | Description |
|---|---|---|
$payload | \stdClass |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000