diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-02-18 16:32:57 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-02-18 16:32:57 +0000 |
| commit | d027ca8e7c383e9755d6fb997e8a880df99e88b9 (patch) | |
| tree | e989143904f735d51561ddd648f901f6ffadc502 /trunk/test/RequestToString.cc | |
| parent | b0628082d0ad183c953193da5c0cd38f5ede282d (diff) | |
| parent | 6d6f25b75c1557f2b92e51fe589aadc48a1fdb68 (diff) | |
Tagging the 0.2.0 release of aria2
Diffstat (limited to 'trunk/test/RequestToString.cc')
| -rw-r--r-- | trunk/test/RequestToString.cc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/trunk/test/RequestToString.cc b/trunk/test/RequestToString.cc deleted file mode 100644 index c922c3be..00000000 --- a/trunk/test/RequestToString.cc +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef _D_REQUEST_TO_STRING_H_ -#define _D_REQUEST_TO_STRING_H_ -#include "Util.h" -#include "Request.h" -#include <string> - -using namespace std; - -class RequestToString { -private: - Request* req; -public: - - RequestToString(Request* req) { - this->req = req; - } - - string toString() { - return "url = "+req->url+"\n"+ - "protocol = "+req->protocol+"\n"+ - "host = "+req->host+"\n"+ - "port = "+Util::ulitos(req->port)+"\n"+ - "dir = "+req->dir+"\n"+ - "file = "+req->file; - } - -#endif // _D_REQUEST_TO_STRING_H_ |
