Created
April 21, 2017 12:19
-
-
Save ebongzzang/f4bc0276a95a758aef10dd54d54196d6 to your computer and use it in GitHub Desktop.
KakaoTalk Bot using C++ REST SDK(casablanca)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MESSAGE_LISTENER_H | |
#define MESSAGE_LISTENER_H | |
#include "Listener.h" | |
#include <cpprest/http_listener.h> | |
#include <cpprest/json.h> | |
#include <map> | |
#include <string> | |
using namespace web::http::experimental::listener; | |
using namespace web::http; | |
using namespace web; | |
using namespace utility; | |
class MessageListener : public Listener | |
{ | |
public: | |
MessageListener(utility::string_t _url); | |
virtual void start(); | |
~MessageListener(); | |
protected: | |
virtual void handle_get(http_request request); | |
virtual void handle_put(http_request request); | |
virtual void handle_post(http_request request); | |
virtual void handle_delete(http_request request); | |
std::string getNaverEndic(std::string word); | |
private: | |
}; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment