httpPost.h
Go to the documentation of this file.
#ifndef COCOATWEET_API_INTERFACE_HTTPPOST_H_
#define COCOATWEET_API_INTERFACE_HTTPPOST_H_
#include <functional>
#include "cocoatweet/oauth/oauth.h"
#include <cocoatweet/api/interface/httpBase.h>
namespace CocoaTweet::API::Interface {
class HttpPost : public HttpBase {
public:
protected:
void process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth,
std::function<void(const std::string&)> _callback);
};
} // namespace CocoaTweet::API::Interface
#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:24
oauth.h