Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/ESP8266WebServer/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Other Function Calls

const String & uri(); // get the current uri
HTTPMethod method(); // get the current method
WiFiClient client(); // get the current client
WiFiClient & client(); // get the current client
HTTPUpload & upload(); // get the current upload
void setContentLength(); // set content length
void sendHeader(); // send HTTP header
Expand Down
2 changes: 1 addition & 1 deletion libraries/ESP8266WebServer/src/ESP8266WebServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class ESP8266WebServerTemplate

const String& uri() const { return _currentUri; }
HTTPMethod method() const { return _currentMethod; }
ClientType client() { return _currentClient; }
ClientType& client() { return _currentClient; }
HTTPUpload& upload() { return *_currentUpload; }

// Allows setting server options (i.e. SSL keys) by the instantiator
Expand Down