Client
Less than 1 minute
Client
Control class for Warlock
This class creates a connection to the Warlock server from within a Hazaar application allowing the application to send triggers or schedule tasks for delayed execution.
Properties
config
public array $config
Methods
__construct
public __construct(array $clientConfig): void
Parameters
Parameter | Type | Description |
---|---|---|
$clientConfig | array |
wait
public wait(int $seconds): void
Parameters
Parameter | Type | Description |
---|---|---|
$seconds | int |
createConnection
protected createConnection(Protocol $protocol, ?string $guid): void
Parameters
Parameter | Type | Description |
---|---|---|
$protocol | Protocol | |
$guid | string |
Generated by Hazaar API Doc Generator on Wed, 25 Jun 2025 06:07:11 +0000