diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-03-14 00:57:05 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-03-14 00:57:05 +0900 |
| commit | bf01bb84b6b96fe2cba529f588e29a9038c0daf6 (patch) | |
| tree | 929c8ad8e4ec3eebdae8ffd046f7990b9f6dccae /src/HttpServer.h | |
| parent | feb4e2e53a368baa64dffd5e2182204548fe86d5 (diff) | |
Added JSONP support. Callback query parameter is "jsoncallback".
Diffstat (limited to 'src/HttpServer.h')
| -rw-r--r-- | src/HttpServer.h | 2 |
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); |
