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 @@ -101,7 +101,7 @@ class ESP8266WebServerTemplate
101
101
102
102
const String& uri () const { return _currentUri; }
103
103
HTTPMethod method () const { return _currentMethod; }
104
- ClientType client () { return _currentClient; }
104
+ ClientType& client () { return _currentClient; }
105
105
HTTPUpload& upload () { return *_currentUpload; }
106
106
107
107
// Allows setting server options (i.e. SSL keys) by the instantiator
You can’t perform that action at this time.
0 commit comments