Made ESP8266WebServer::client() return a reference (fixes #7075) by bblanchon · Pull Request #7080 · esp8266/Arduino (original) (raw)

I am in favor of this, in fact I completely agree to move away from return-by-value. However, there is worry that this could cause pain due to moving away from the Arduino way of return-by-value (object slicing or whatever), as has happened in the past.
Whatever the case, this is a breaking change due to a signature change, so at best it must be targeted for v3.