Skip to content

Instantly share code, notes, and snippets.

@ebongzzang
Created April 3, 2017 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebongzzang/a45b3dce2a2ddbc8a509c3d5948a1103 to your computer and use it in GitHub Desktop.
Save ebongzzang/a45b3dce2a2ddbc8a509c3d5948a1103 to your computer and use it in GitHub Desktop.
KakaoTalk bot using C++ REST SDK(casablanca)
#ifndef LAZY_LISTENER_H
#define LAZY_LISTENER_H
#include "Listener.h"
#include <cpprest/http_listener.h>
#include <cpprest/json.h>
using namespace web::http::experimental::listener;
using namespace web::http;
using namespace web;
using namespace utility;
class LazyListener : public Listener
{
public:
LazyListener(utility::string_t url);
~LazyListener();
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);
private:
};
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment