I’ve created custom event
public function handleEvent( $runner_context, $event_args ) {
print("hello event received! " . print_r($event_args, 1));
print("RETURNING event args");
return $event_args;
}
Than after dispatching(with curl or ios app ) I’m receiving empty response. What is correct way to return data from event to my app?
let result = Backendless.sharedInstance().events.dispatch("helloDude", args: ["testKEY": "valueKEY"], fault: nil)
print(result)