The completed event fires when the request has completed. This event will fire on successful or failure.
-------- Import ---------
-------- Global variables ---------
-------- Connect the handler to the event. ---------
-------- Event handler function definition ---------
|
-------- Global variables ---------
-------- Connect the handler to the event. ---------
-------- Event handler class definition ---------
|
--------- Required include files. ---------
--------- Event handler class definition and global declaration. ---------
class MyCompletedEventHandler : public adsk::core::HttpEventHandler { public: void notify(const Ptr<HttpEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyCompletedEventHandler event handler."); } } _completed; --------- Connect the handler to the event. ---------
|