Skip to content

Commit

Permalink
fix: add client method in HTTPServer
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushsharma82 committed Jun 13, 2024
1 parent 5e3693b commit 7c581e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/WebServer/src/HTTPServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ class HTTPServer {
HTTPMethod method() {
return _currentMethod;
}
WiFiClient& client() {
return *_currentClient;
}
HTTPUpload& upload() {
return *_currentUpload;
}
Expand Down

0 comments on commit 7c581e3

Please sign in to comment.