OAuth2が出来るようになったよ。ブランチの目的からめちゃくちゃズレてるね
This commit is contained in:
@@ -0,0 +1,190 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>CocoaTweet: CocoaTweet::API::Interface::HttpPost Class Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">CocoaTweet
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceCocoaTweet.html">CocoaTweet</a></li><li class="navelem"><a class="el" href="namespaceCocoaTweet_1_1API.html">API</a></li><li class="navelem"><a class="el" href="namespaceCocoaTweet_1_1API_1_1Interface.html">Interface</a></li><li class="navelem"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpPost.html">HttpPost</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pro-methods">Protected Member Functions</a> |
|
||||
<a href="classCocoaTweet_1_1API_1_1Interface_1_1HttpPost-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">CocoaTweet::API::Interface::HttpPost Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>class for Send request with POST method
|
||||
<a href="classCocoaTweet_1_1API_1_1Interface_1_1HttpPost.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <<a class="el" href="httpPost_8h_source.html">httpPost.h</a>></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for CocoaTweet::API::Interface::HttpPost:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="classCocoaTweet_1_1API_1_1Interface_1_1HttpPost__inherit__graph.png" border="0" usemap="#CocoaTweet_1_1API_1_1Interface_1_1HttpPost_inherit__map" alt="Inheritance graph"/></div>
|
||||
<map name="CocoaTweet_1_1API_1_1Interface_1_1HttpPost_inherit__map" id="CocoaTweet_1_1API_1_1Interface_1_1HttpPost_inherit__map">
|
||||
<area shape="rect" title="class for Send request with POST method" alt="" coords="248,221,443,262"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1DirectMessages_1_1New.html" title="class for using statuses/update endpoint" alt="" coords="491,5,769,32"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1Favorites_1_1Create.html" title=" " alt="" coords="531,57,729,98"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1Favorites_1_1Destroy.html" title=" " alt="" coords="531,122,729,163"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1Medias_1_1Upload.html" title="entry point for using media/upload endpoint" alt="" coords="538,187,722,229"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1Statuses_1_1Destroy.html" title="class for using status/destroy:id endpoint" alt="" coords="533,253,727,294"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1Statuses_1_1Retweet.html" title=" " alt="" coords="533,318,727,359"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1Statuses_1_1Unretweet.html" title=" " alt="" coords="533,383,727,425"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1Statuses_1_1Update.html" title="class for using statuses/update endpoint" alt="" coords="533,449,727,490"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html" title=" " alt="" coords="5,221,200,262"/>
|
||||
</map>
|
||||
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
||||
<div class="dynheader">
|
||||
Collaboration diagram for CocoaTweet::API::Interface::HttpPost:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="classCocoaTweet_1_1API_1_1Interface_1_1HttpPost__coll__graph.png" border="0" usemap="#CocoaTweet_1_1API_1_1Interface_1_1HttpPost_coll__map" alt="Collaboration graph"/></div>
|
||||
<map name="CocoaTweet_1_1API_1_1Interface_1_1HttpPost_coll__map" id="CocoaTweet_1_1API_1_1Interface_1_1HttpPost_coll__map">
|
||||
<area shape="rect" title="class for Send request with POST method" alt="" coords="5,95,200,136"/>
|
||||
<area shape="rect" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html" title=" " alt="" coords="5,5,200,47"/>
|
||||
</map>
|
||||
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
||||
Protected Member Functions</h2></td></tr>
|
||||
<tr class="memitem:afc4040a8d1b0853585334751717d0662"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpPost.html#afc4040a8d1b0853585334751717d0662">process</a> (std::weak_ptr< <a class="el" href="classCocoaTweet_1_1OAuth_1_1OAuth1.html">CocoaTweet::OAuth::OAuth1</a> > _oauth, std::function< void(const std::string &)> _callback)</td></tr>
|
||||
<tr class="memdesc:afc4040a8d1b0853585334751717d0662"><td class="mdescLeft"> </td><td class="mdescRight">Send HTTP/POST using <a class="el" href="namespaceCocoaTweet_1_1OAuth.html">OAuth</a> object. <a href="classCocoaTweet_1_1API_1_1Interface_1_1HttpPost.html#afc4040a8d1b0853585334751717d0662">More...</a><br /></td></tr>
|
||||
<tr class="separator:afc4040a8d1b0853585334751717d0662"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||||
Additional Inherited Members</h2></td></tr>
|
||||
<tr class="inherit_header pro_static_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html">CocoaTweet::API::Interface::HttpBase</a></td></tr>
|
||||
<tr class="memitem:a65e649cd380fc68d69aa8b575a20ab10 inherit pro_static_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">static size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#a65e649cd380fc68d69aa8b575a20ab10">curlCallback_</a> (char *_ptr, size_t _size, size_t _nmemb, std::string *_stream)</td></tr>
|
||||
<tr class="separator:a65e649cd380fc68d69aa8b575a20ab10 inherit pro_static_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html">CocoaTweet::API::Interface::HttpBase</a></td></tr>
|
||||
<tr class="memitem:ab0b8b76e12fdf34849fc1c8ee928a2ff inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">std::weak_ptr< <a class="el" href="classCocoaTweet_1_1OAuth_1_1OAuth1.html">CocoaTweet::OAuth::OAuth1</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#ab0b8b76e12fdf34849fc1c8ee928a2ff">oauth_</a></td></tr>
|
||||
<tr class="separator:ab0b8b76e12fdf34849fc1c8ee928a2ff inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7c543dfa69524004df9e0fdcaa610313 inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">std::map< std::string, std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#a7c543dfa69524004df9e0fdcaa610313">bodyParam_</a></td></tr>
|
||||
<tr class="separator:a7c543dfa69524004df9e0fdcaa610313 inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6511d018265ca90a5c675b375b8feee0 inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#a6511d018265ca90a5c675b375b8feee0">url_</a></td></tr>
|
||||
<tr class="separator:a6511d018265ca90a5c675b375b8feee0 inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa80a8d2b339e3eed6f9e031518f8193b inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#aa80a8d2b339e3eed6f9e031518f8193b">contentType_</a></td></tr>
|
||||
<tr class="separator:aa80a8d2b339e3eed6f9e031518f8193b inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>class for Send request with POST method </p>
|
||||
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="afc4040a8d1b0853585334751717d0662"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#afc4040a8d1b0853585334751717d0662">◆ </a></span>process()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void CocoaTweet::API::Interface::HttpPost::process </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::weak_ptr< <a class="el" href="classCocoaTweet_1_1OAuth_1_1OAuth1.html">CocoaTweet::OAuth::OAuth1</a> > </td>
|
||||
<td class="paramname"><em>_oauth</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::function< void(const std::string &)> </td>
|
||||
<td class="paramname"><em>_callback</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Send HTTP/POST using <a class="el" href="namespaceCocoaTweet_1_1OAuth.html">OAuth</a> object. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">std::weak_ptr<CocoaTweet::OAuth::OAuth1></td><td>_oauth : pointer to <a class="el" href="namespaceCocoaTweet_1_1OAuth.html">OAuth</a> object to authenticate </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">std::function<void(const</td><td>unsigned int, const std::string&)> _callback : callback method for processing to response </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p>Implements <a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#a680ff63af97568baf2587f20b7e1a8ec">CocoaTweet::API::Interface::HttpBase</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following files:<ul>
|
||||
<li>src/cocoatweet/api/interface/<a class="el" href="httpPost_8h_source.html">httpPost.h</a></li>
|
||||
<li>src/cocoatweet/api/interface/<a class="el" href="httpPost_8cc.html">httpPost.cc</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.17
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user