PreTranslateCommand Event
    
 

Description

Fires before the command is sent to the server.


Syntax

Private Sub object_PreTranslateCommand(Command)



The PreTranslateCommand Event syntax has these parts:

Part Description
object A wodXMPP object.
Command A String value. Command that is sent to the server.

Remarks

This event can be used for monitoring commands that are sent to server before they are actually transmitted. At this point, you can change this data and it will be sent as you define it - without wodXMPP knowing anything about it. Remote side will receive your changes.

Beware - what you're doing here is dangerous for wodXMPP. You may break its internal mechanism of behavior, and strange results may occur. But - to provide you with more freedom over what's going on 'under the hood', we have provided this event for advanced users.