onRaw
(since )
Intercept all received raw.
Description
onRaw
Intercept all received raw.
Arguments passed to the callback function
args
An object containing all data sent by the server.
pipe
If the received data contain a key named pipe with a correct pubid (e.g : you receive data from a channel) the second argument is a pipe object.
Examples
//ape var is a reference to APE instance
ape.addEvent('onRaw', function(args) {
console.log('Receiving raw', args.raw, 'at time', args.time);
});
User notes
# No comment
Post a note
CollaborAPE to our wiki !
Find the information you need on the APE Official Wiki : Install, Server, JSF, Help...
