#ifndef COCOATWEET_API_INTERFACE_POSTINTERFACE_H_ #define COCOATWEET_API_INTERFACE_POSTINTERFACE_H_ #include #include "cocoatweet/oauth/oauth.h" namespace CocoaTweet::API::Interface { class HttpPost { public: protected: std::weak_ptr oauth_; std::map bodyParam_; std::string url_; std::string contentType_; void process(std::weak_ptr _oauth, std::function _callback); static size_t curlCallback_(char* _ptr, size_t _size, size_t _nmemb, std::string* _stream); }; } // namespace CocoaTweet::API::Interface #endif