mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
172 lines
24 KiB
HTML
172 lines
24 KiB
HTML
<!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>rippled: WorkSSL.cpp Source File</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">rippled
|
|
</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="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_9f69212e4c6e2ca9ec5ab59cd7b6275c.html">app</a></li><li class="navelem"><a class="el" href="dir_29f79f6f29a0be0eebc6c46bea51c866.html">misc</a></li><li class="navelem"><a class="el" href="dir_abfa528e58ef38d4526b267cc83572ec.html">detail</a></li><li class="navelem"><a class="el" href="dir_e0323a6a8205d7ef4efcfbc704ec3903.html">impl</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">WorkSSL.cpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 2020 Ripple Labs Inc.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <ripple/app/misc/detail/WorkSSL.h></span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html"> 23</a></span> <span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1WorkSSL.html#a1847f2027488fdcc457ceba5e994e8f0"> 25</a></span> <a class="code" href="classripple_1_1detail_1_1WorkSSL.html#a1847f2027488fdcc457ceba5e994e8f0">WorkSSL::WorkSSL</a>(</div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& host,</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& path,</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& port,</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  boost::asio::io_service& ios,</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> j,</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="classripple_1_1Config.html">Config</a> <span class="keyword">const</span>& config,</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="classripple_1_1detail_1_1WorkBase.html#aa0dc5c38ff210dd957ab4a2b9e5b21b6">endpoint_type</a> <span class="keyword">const</span>& lastEndpoint,</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordtype">bool</span> lastStatus,</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">callback_type</a> cb)</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  : <a class="code" href="classripple_1_1detail_1_1WorkBase.html">WorkBase</a>(host, path, port, ios, lastEndpoint, lastStatus, cb)</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  , context_(config, j, <a class="code" href="namespaceboost.html">boost</a>::asio::ssl::context::tlsv12_client)</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  , stream_(socket_, context_.context())</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">auto</span> ec = <a class="code" href="classripple_1_1detail_1_1WorkSSL.html#a64ffcf6721f774814023f60cb1dc51b7">context_</a>.<a class="code" href="classripple_1_1HTTPClientSSLContext.html#a33af7033012cc39d9645120dc8d5eca4">preConnectVerify</a>(<a class="code" href="classripple_1_1detail_1_1WorkSSL.html#aaef5ae17e26920f2ee72ab531b3c6a1e">stream_</a>, <a class="code" href="classripple_1_1detail_1_1WorkBase.html#af085d88eafb314c616293e3cb9af70a5">host_</a>);</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">if</span> (ec)</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  Throw<std::runtime_error>(</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  boost::str(boost::format(<span class="stringliteral">"preConnectVerify: %s"</span>) % ec.message()));</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1WorkSSL.html#a567d0b963fb8a3c836cef5a502e2ae51"> 46</a></span> <a class="code" href="classripple_1_1detail_1_1WorkSSL.html#a567d0b963fb8a3c836cef5a502e2ae51">WorkSSL::onConnect</a>(<a class="code" href="classripple_1_1detail_1_1WorkBase.html#ab71e779cbf5260362f0e72b88e060449">error_code</a> <span class="keyword">const</span>& ec)</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">auto</span> err = ec ? ec : <a class="code" href="classripple_1_1detail_1_1WorkSSL.html#a64ffcf6721f774814023f60cb1dc51b7">context_</a>.<a class="code" href="classripple_1_1HTTPClientSSLContext.html#a9ccc8776cfeb39267308d8b412379a47">postConnectVerify</a>(<a class="code" href="classripple_1_1detail_1_1WorkSSL.html#aaef5ae17e26920f2ee72ab531b3c6a1e">stream_</a>, <a class="code" href="classripple_1_1detail_1_1WorkBase.html#af085d88eafb314c616293e3cb9af70a5">host_</a>);</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">if</span> (err)</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1WorkBase.html#aea136a1e17ac0442a5f650104d1a8bc0">fail</a>(err);</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="classripple_1_1detail_1_1WorkSSL.html#aaef5ae17e26920f2ee72ab531b3c6a1e">stream_</a>.async_handshake(</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  boost::asio::ssl::stream_base::client,</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classripple_1_1detail_1_1WorkBase.html#a6cec3e4c211f1127d3fe4d43490cd39b">strand_</a>.wrap(<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/bind.html">std::bind</a>(</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  &<a class="code" href="classripple_1_1detail_1_1WorkSSL.html#a4efb7cf7e77564f4c92de882e122bedf">WorkSSL::onHandshake</a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this/shared_from_this.html">shared_from_this</a>(), std::placeholders::_1)));</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> }</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1WorkSSL.html#a4efb7cf7e77564f4c92de882e122bedf"> 59</a></span> <a class="code" href="classripple_1_1detail_1_1WorkSSL.html#a4efb7cf7e77564f4c92de882e122bedf">WorkSSL::onHandshake</a>(<a class="code" href="classripple_1_1detail_1_1WorkBase.html#ab71e779cbf5260362f0e72b88e060449">error_code</a> <span class="keyword">const</span>& ec)</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">if</span> (ec)</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1WorkBase.html#aea136a1e17ac0442a5f650104d1a8bc0">fail</a>(ec);</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="classripple_1_1detail_1_1WorkBase.html#aaeae0dce9809a37fc3ac02282a0c04ba">onStart</a>();</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> }</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> } <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> } <span class="comment">// namespace ripple</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkBase_html_aa0dc5c38ff210dd957ab4a2b9e5b21b6"><div class="ttname"><a href="classripple_1_1detail_1_1WorkBase.html#aa0dc5c38ff210dd957ab4a2b9e5b21b6">ripple::detail::WorkBase< WorkSSL >::endpoint_type</a></div><div class="ttdeci">boost::asio::ip::tcp::endpoint endpoint_type</div><div class="ttdef"><b>Definition:</b> <a href="WorkBase_8h_source.html#l00044">WorkBase.h:44</a></div></div>
|
|
<div class="ttc" id="abind_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/bind.html">std::bind</a></div><div class="ttdeci">T bind(T... args)</div></div>
|
|
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkBase_html_aea136a1e17ac0442a5f650104d1a8bc0"><div class="ttname"><a href="classripple_1_1detail_1_1WorkBase.html#aea136a1e17ac0442a5f650104d1a8bc0">ripple::detail::WorkBase< WorkSSL >::fail</a></div><div class="ttdeci">void fail(error_code const &ec)</div><div class="ttdef"><b>Definition:</b> <a href="WorkBase_8h_source.html#l00183">WorkBase.h:183</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1HTTPClientSSLContext_html_a33af7033012cc39d9645120dc8d5eca4"><div class="ttname"><a href="classripple_1_1HTTPClientSSLContext.html#a33af7033012cc39d9645120dc8d5eca4">ripple::HTTPClientSSLContext::preConnectVerify</a></div><div class="ttdeci">boost::system::error_code preConnectVerify(T &strm, std::string const &host)</div><div class="ttdoc">invoked before connect/async_connect on an ssl stream to setup name verification.</div><div class="ttdef"><b>Definition:</b> <a href="HTTPClientSSLContext_8h_source.html#l00107">HTTPClientSSLContext.h:107</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkBase_html_af085d88eafb314c616293e3cb9af70a5"><div class="ttname"><a href="classripple_1_1detail_1_1WorkBase.html#af085d88eafb314c616293e3cb9af70a5">ripple::detail::WorkBase< WorkSSL >::host_</a></div><div class="ttdeci">std::string host_</div><div class="ttdef"><b>Definition:</b> <a href="WorkBase_8h_source.html#l00057">WorkBase.h:57</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkSSL_html_a4efb7cf7e77564f4c92de882e122bedf"><div class="ttname"><a href="classripple_1_1detail_1_1WorkSSL.html#a4efb7cf7e77564f4c92de882e122bedf">ripple::detail::WorkSSL::onHandshake</a></div><div class="ttdeci">void onHandshake(error_code const &ec)</div><div class="ttdef"><b>Definition:</b> <a href="WorkSSL_8cpp_source.html#l00059">WorkSSL.cpp:59</a></div></div>
|
|
<div class="ttc" id="anamespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdef"><b>Definition:</b> <a href="IPAddress_8h_source.html#l00103">IPAddress.h:103</a></div></div>
|
|
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function< void(error_code const &, endpoint_type const &, response_type &&)></a></div></div>
|
|
<div class="ttc" id="ashared_from_this_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this/shared_from_this.html">std::enable_shared_from_this< WorkSSL >::shared_from_this</a></div><div class="ttdeci">T shared_from_this(T... args)</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkSSL_html_aaef5ae17e26920f2ee72ab531b3c6a1e"><div class="ttname"><a href="classripple_1_1detail_1_1WorkSSL.html#aaef5ae17e26920f2ee72ab531b3c6a1e">ripple::detail::WorkSSL::stream_</a></div><div class="ttdeci">stream_type stream_</div><div class="ttdef"><b>Definition:</b> <a href="WorkSSL_8h_source.html#l00046">WorkSSL.h:46</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkSSL_html_a64ffcf6721f774814023f60cb1dc51b7"><div class="ttname"><a href="classripple_1_1detail_1_1WorkSSL.html#a64ffcf6721f774814023f60cb1dc51b7">ripple::detail::WorkSSL::context_</a></div><div class="ttdeci">HTTPClientSSLContext context_</div><div class="ttdef"><b>Definition:</b> <a href="WorkSSL_8h_source.html#l00045">WorkSSL.h:45</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Config_html"><div class="ttname"><a href="classripple_1_1Config.html">ripple::Config</a></div><div class="ttdef"><b>Definition:</b> <a href="Config_8h_source.html#l00068">Config.h:68</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkBase_html_aaeae0dce9809a37fc3ac02282a0c04ba"><div class="ttname"><a href="classripple_1_1detail_1_1WorkBase.html#aaeae0dce9809a37fc3ac02282a0c04ba">ripple::detail::WorkBase< WorkSSL >::onStart</a></div><div class="ttdeci">void onStart()</div><div class="ttdef"><b>Definition:</b> <a href="WorkBase_8h_source.html#l00243">WorkBase.h:243</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1HTTPClientSSLContext_html_a9ccc8776cfeb39267308d8b412379a47"><div class="ttname"><a href="classripple_1_1HTTPClientSSLContext.html#a9ccc8776cfeb39267308d8b412379a47">ripple::HTTPClientSSLContext::postConnectVerify</a></div><div class="ttdeci">boost::system::error_code postConnectVerify(T &strm, std::string const &host)</div><div class="ttdoc">invoked after connect/async_connect but before sending data on an ssl stream - to setup name verifica...</div><div class="ttdef"><b>Definition:</b> <a href="HTTPClientSSLContext_8h_source.html#l00142">HTTPClientSSLContext.h:142</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00058">Journal.h:58</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkSSL_html_a567d0b963fb8a3c836cef5a502e2ae51"><div class="ttname"><a href="classripple_1_1detail_1_1WorkSSL.html#a567d0b963fb8a3c836cef5a502e2ae51">ripple::detail::WorkSSL::onConnect</a></div><div class="ttdeci">void onConnect(error_code const &ec)</div><div class="ttdef"><b>Definition:</b> <a href="WorkSSL_8cpp_source.html#l00046">WorkSSL.cpp:46</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkBase_html"><div class="ttname"><a href="classripple_1_1detail_1_1WorkBase.html">ripple::detail::WorkBase</a></div><div class="ttdef"><b>Definition:</b> <a href="WorkBase_8h_source.html#l00040">WorkBase.h:40</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkSSL_html_a1847f2027488fdcc457ceba5e994e8f0"><div class="ttname"><a href="classripple_1_1detail_1_1WorkSSL.html#a1847f2027488fdcc457ceba5e994e8f0">ripple::detail::WorkSSL::WorkSSL</a></div><div class="ttdeci">WorkSSL(std::string const &host, std::string const &path, std::string const &port, boost::asio::io_service &ios, beast::Journal j, Config const &config, endpoint_type const &lastEndpoint, bool lastStatus, callback_type cb)</div><div class="ttdef"><b>Definition:</b> <a href="WorkSSL_8cpp_source.html#l00025">WorkSSL.cpp:25</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkBase_html_ab71e779cbf5260362f0e72b88e060449"><div class="ttname"><a href="classripple_1_1detail_1_1WorkBase.html#ab71e779cbf5260362f0e72b88e060449">ripple::detail::WorkBase< WorkSSL >::error_code</a></div><div class="ttdeci">boost::system::error_code error_code</div><div class="ttdef"><b>Definition:</b> <a href="WorkBase_8h_source.html#l00043">WorkBase.h:43</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1WorkBase_html_a6cec3e4c211f1127d3fe4d43490cd39b"><div class="ttname"><a href="classripple_1_1detail_1_1WorkBase.html#a6cec3e4c211f1127d3fe4d43490cd39b">ripple::detail::WorkBase< WorkSSL >::strand_</a></div><div class="ttdeci">boost::asio::io_service::strand strand_</div><div class="ttdef"><b>Definition:</b> <a href="WorkBase_8h_source.html#l00062">WorkBase.h:62</a></div></div>
|
|
<!-- 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>
|