Permalink
Browse files

Added missing implementation for setURL function

  • Loading branch information...
1 parent 81a748e commit 841647c4fcbbfa6fa72f508573c1c925cf6aafe0 wlmp13 committed Jul 5, 2009
Showing with 6 additions and 0 deletions.
  1. +6 −0 request.cpp
View
@@ -65,6 +65,10 @@ void GETrequest::setAuth(char* auth) {
if (!this->active) this->auth = auth;
}
+void GETrequest::setURL(char* URL) {
+ if (!this->active) this->URL = URL;
+}
+
void GETrequest::submit() {
// Ignore submit request if already active
if (!this->active) WiServer.submitRequest(this);
@@ -75,6 +79,8 @@ boolean GETrequest::isActive() {
}
+
+
POSTrequest::POSTrequest(uint8* ipAddr, int port, char* hostName, char* URL, bodyFunction body) :
// Create a request with the IP, port, host name and URL
GETrequest (ipAddr, port, hostName, URL) {

0 comments on commit 841647c

Please sign in to comment.