#ifndef COCOATWEET_API_INTERFACE_HTTPPOST_H_ #define COCOATWEET_API_INTERFACE_HTTPPOST_H_ #include #include "cocoatweet/authentication/authenticator.h" #include namespace CocoaTweet::API::Interface { /// @brief class for Send request with POST method class HttpPost : public HttpBase { public: protected: /// @brief Send HTTP/POST using OAuth object /// @param[in] std::weak_ptr _oauth : pointer /// to OAuth object to authenticate /// @param[in] std::function _callback : /// callback method for processing to response void process(std::weak_ptr _oauth, std::function _callback); }; } // namespace CocoaTweet::API::Interface #endif