CocoaTweet
httpPost.h
Go to the documentation of this file.
1 #ifndef COCOATWEET_API_INTERFACE_HTTPPOST_H_
2 #define COCOATWEET_API_INTERFACE_HTTPPOST_H_
3 
4 #include <functional>
7 
10 class HttpPost : public HttpBase {
11 public:
12 protected:
18  void process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth,
19  std::function<void(const std::string&)> _callback);
20 };
21 } // namespace CocoaTweet::API::Interface
22 
23 #endif
httpBase.h
CocoaTweet::API::Interface::HttpPost
class for Send request with POST method
Definition: httpPost.h:10
CocoaTweet::API::Interface
Definition: httpBase.h:7
CocoaTweet::API::Interface::HttpBase
Definition: httpBase.h:8
CocoaTweet::API::Interface::HttpPost::process
void process(std::weak_ptr< CocoaTweet::OAuth::OAuth1 > _oauth, std::function< void(const std::string &)> _callback)
Send HTTP/POST using OAuth object.
Definition: httpPost.cc:23
oauth.h