summaryrefslogtreecommitdiff
path: root/src/HttpServer.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-03-14 00:57:05 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-03-14 00:57:05 +0900
commitbf01bb84b6b96fe2cba529f588e29a9038c0daf6 (patch)
tree929c8ad8e4ec3eebdae8ffd046f7990b9f6dccae /src/HttpServer.h
parentfeb4e2e53a368baa64dffd5e2182204548fe86d5 (diff)
Added JSONP support. Callback query parameter is "jsoncallback".
Diffstat (limited to 'src/HttpServer.h')
-rw-r--r--src/HttpServer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HttpServer.h b/src/HttpServer.h
index cdd1e40e..2f8d6329 100644
--- a/src/HttpServer.h
+++ b/src/HttpServer.h
@@ -79,6 +79,8 @@ public:
std::string getBody() const;
+ const std::string& getMethod() const;
+
const std::string& getRequestPath() const;
void feedResponse(const std::string& text, const std::string& contentType);