CocoaTweet
Protected Member Functions | List of all members
CocoaTweet::API::Interface::HttpGet Class Reference

class for Send request with POST method More...

#include <httpGet.h>

Inheritance diagram for CocoaTweet::API::Interface::HttpGet:
Inheritance graph
[legend]
Collaboration diagram for CocoaTweet::API::Interface::HttpGet:
Collaboration graph
[legend]

Protected Member Functions

void process (std::weak_ptr< CocoaTweet::OAuth::OAuth1 > _oauth, std::function< void(const std::string &)> _callback)
 Send HTTP/POST using OAuth object. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from CocoaTweet::API::Interface::HttpBase
static size_t curlCallback_ (char *_ptr, size_t _size, size_t _nmemb, std::string *_stream)
 
- Protected Attributes inherited from CocoaTweet::API::Interface::HttpBase
std::weak_ptr< CocoaTweet::OAuth::OAuth1oauth_
 
std::map< std::string, std::string > bodyParam_
 
std::string url_
 
std::string contentType_
 

Detailed Description

class for Send request with POST method

Member Function Documentation

◆ process()

void CocoaTweet::API::Interface::HttpGet::process ( std::weak_ptr< CocoaTweet::OAuth::OAuth1 _oauth,
std::function< void(const std::string &)>  _callback 
)
protectedvirtual

Send HTTP/POST using OAuth object.

Parameters
[in]std::weak_ptr<CocoaTweet::OAuth::OAuth1>_oauth : pointer to OAuth object to authenticate
[in]std::function<void(constunsigned int, const std::string&)> _callback : callback method for processing to response

Implements CocoaTweet::API::Interface::HttpBase.


The documentation for this class was generated from the following files: