Connection
Less than 1 minute
Connection
Methods
__construct
public __construct({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$protocol | Protocol | |
$guid | string |
connect
Connect to the Warlock server.
public connect({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$applicationName | string | |
$host | string | |
$port | int | |
$extra_headers | array |
disconnect
public disconnect({Array})
connected
public connected({Array})
send
public send({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$command | string | |
$payload | mixed |
recv
public recv({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$payload | mixed | |
$tv_sec | int | |
$tv_usec | int |
Generated by Hazaar API Doc Generator