Service
Less than 1 minute
Service
Properties
name
public string $name = 'Unnamed Service'
address
public string $address = 'stream'
public $
Methods
frame
protected frame(string $payload, ?string $type, bool $masked = true): string
Parameters
Parameter | Type | Description |
---|---|---|
$payload | string | |
$type | string | |
$masked | bool |
processFrame
protected processFrame(string $frameBuffer): mixed
Parameters
Parameter | Type | Description |
---|---|---|
$frameBuffer | string |
commandStatus
protected commandStatus(?\stdClass $payload): bool
Parameters
Parameter | Type | Description |
---|---|---|
$payload | \stdClass |
Generated by Hazaar API Doc Generator on Tue, 29 Jul 2025 08:01:33 +0000