]> git.tdb.fi Git - libs/net.git/blobdiff - source/request.h
Prepare for assimilation into mspnet
[libs/net.git] / source / request.h
diff --git a/source/request.h b/source/request.h
deleted file mode 100644 (file)
index ec5030e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef MSP_HTTP_REQUEST_H_
-#define MSP_HTTP_REQUEST_H_
-
-#include <string>
-#include "message.h"
-
-namespace Msp {
-namespace Http {
-
-class Request: public Message
-{
-private:
-       std::string method;
-       std::string path;
-
-public:
-       Request(const std::string &, const std::string &);
-       const std::string &get_method() const { return method; }
-       const std::string &get_path() const { return path; }
-       virtual std::string str() const;
-
-       static Request parse(const std::string &);
-       static Request from_url(const std::string &);
-};
-
-} // namespace Http
-} // namespace Msp
-
-#endif