arduino-libraries / ArduinoHttpClient

Arduino HTTP Client library
282 stars 170 forks source link

Why is server url/port in HttpClient constructor? #127

Open svenyonson opened 2 years ago

svenyonson commented 2 years ago

Feature request:

The example shows a static instance of HttpClient - but the server/port is fixed. What if I need to talk to serveral different servers? It would be useful to be able to omit these from the constructor and then use something like "setHost(host, port)"

episource commented 2 years ago

Please have a look at #128