example updates

This commit is contained in:
Peter Thorson
2012-02-13 06:56:58 -06:00
parent 1d80eb6a88
commit eec4882775
2 changed files with 129 additions and 58 deletions

View File

@@ -71,7 +71,7 @@ int main(int argc, char* argv[]) {
con = endpoint.connect(uri+"getCaseCount");
con->add_request_header("User Agent","WebSocket++/0.2.0");
con->add_request_header("User Agent","WebSocket++/0.2.0-dev");
endpoint.run();
@@ -82,7 +82,7 @@ int main(int argc, char* argv[]) {
std::stringstream url;
url << uri << "/runCase?case=" << i << "&agent=\"WebSocket++/0.2.0\"";
url << uri << "runCase?case=" << i << "&agent=WebSocket++/0.2.0-dev";
con = endpoint.connect(url.str());