Connect #
Connects to kuzzle instance.
Arguments #
Connect() (bool, error)
Argument | Type | Description |
---|---|---|
event | int | Event constant from the event package |
channel | channel | Event payload channel |
Return #
true
and nil
if the connection is successful or false
and an error
otherwise.
Edit this page on Github(opens new window)