Arduino UNO WiFi: RestClient and RestServer

try to reference the WiFiData object, not copy it

void process(WifiData& client) {

Edit: I see that in the example it is not passed as reference.
the UnoWiFiDevEd is strange. I changed the firmware to WiFi Link