I propose to reference the Client object directly. For the use of non-native types (byte, etc) a reference to Arduino is needed. Tested for ESP8266.
This change is needed for the ESP32 (Does not know ethernet.h)
I must reject this request. It can break other uses of the library and I fear it makes it too specific to the ESP platform. OTOH, a conditional compile variant would likely work better.
I propose to reference the Client object directly. For the use of non-native types (byte, etc) a reference to Arduino is needed. Tested for ESP8266. This change is needed for the ESP32 (Does not know ethernet.h)