__construct()
__construct(mixed|string|int params) :
Constructor
Parameters
| mixed|string|int | params | An array of credentials for the connection |
HEXONET Connection
callRawHttp(mixed|string|int command, array|string config = null) :
Make a curl API call over HTTP(S) and returns the response as a string
| mixed|string|int | command | The command array |
| array|string | config | The config array |
Throws exception if can't init curl
connect(mixed|string|int params = array()) : \HEXONET\Connection
Function connect Returns a Connection object connected to the API Server (URL, ENTITY, LOGIN, PASSWORD are mandatory to connect the server, ROLE ans USER are optional)
| mixed|string|int | params | The credentials for the connection |
Throws exception when credentials missing
A connection to the API Server