public string $name = 'Unnamed Agent'
public ClientType $type = 'ClientType'
public string $address = 'stream'
public initiateHandshake(string $request, array $headers): bool
Parameter | Type | Description |
---|
$request | string | |
$headers | array | |
public isAuthorized(): bool
public processCommand(PacketType $command, mixed $payload): bool
Parameter | Type | Description |
---|
$command | PacketType | |
$payload | mixed | |
protected commandStatus(?\stdClass $payload): bool
Parameter | Type | Description |
---|
$payload | \stdClass | |
Generated by Hazaar API Doc Generator on Wed, 25 Jun 2025 06:07:11 +0000