{Array|string} cmdIf the argument is a string, it should be a CMD (e.g. 'CONNECT'). If the argument is an array: the array should contain objects with cmd, params and sessid)

{object} paramsOptionalThe parameters that must be send with the command

{object} optionsOptionalObject with request options

{boolean} options.sessidOptionalDefault: trueAdd the sessid property to the request

Returns:

{object} The request object or undefined in Opera browser

Examples

///ape var is a reference to APE instance
//Send a connect command to server
ape.request.send('JOIN', {"channels":"testChannel"});
//Note : you can join a channel with the method join
ape.join('testChannel');
//Note : testCommand is not a real APE command, it's just used here as an example
ape.request.send('testCommand', {"param1":"value","param2":"value"});