File tree 2 files changed +2
-2
lines changed
libraries/ESP8266WebServer
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ Other Function Calls
154
154
155
155
const String & uri(); // get the current uri
156
156
HTTPMethod method(); // get the current method
157
- WiFiClient client(); // get the current client
157
+ WiFiClient & client(); // get the current client
158
158
HTTPUpload & upload(); // get the current upload
159
159
void setContentLength(); // set content length
160
160
void sendHeader(); // send HTTP header
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ class ESP8266WebServerTemplate
103
103
104
104
const String& uri () const { return _currentUri; }
105
105
HTTPMethod method () const { return _currentMethod; }
106
- ClientType client () { return _currentClient; }
106
+ ClientType& client () { return _currentClient; }
107
107
HTTPUpload& upload () { return *_currentUpload; }
108
108
109
109
// Allows setting server options (i.e. SSL keys) by the instantiator
You can’t perform that action at this time.
0 commit comments