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 Wed, 25 Jun 2025 06:07:11 +0000