I want to get ReceieveScanSummary data...But i am unable to parse the data into my custom model class. Could you please help me to parse data which are received from 'ReceieveScanSummary' event....
code...
self.chatHubConnection!.on(method: "ReceieveScanSummary") { (payload: ArgumentExtractor?) in
// How to parse data?
}
You need to create a struct. This is explained in more detail in my Swift SignalR Client course in sections "Structural Types Handling" and "The most common mistakes"
Hi,
I want to get ReceieveScanSummary data...But i am unable to parse the data into my custom model class. Could you please help me to parse data which are received from 'ReceieveScanSummary' event....
code... self.chatHubConnection!.on(method: "ReceieveScanSummary") { (payload: ArgumentExtractor?) in // How to parse data? }