📄 lyoulhttpclient.aspx.htm
字号:
<div class="MI" id="Section53"><a href="http://www.codeproject.com/KB/macros/">Macros and Add-ins</a></div>
<div class="MI" id="Section54"><a href="http://www.codeproject.com/KB/tips/">Programming Tips</a></div>
<div class="MI" id="Section55"><a href="http://www.codeproject.com/KB/string/">String handling</a></div>
<div class="MI" id="Section58"><a href="http://www.codeproject.com/KB/threads/">Threads, Processes & IPC</a></div>
<div class="MI" id="Section59"><a href="http://www.codeproject.com/KB/winhelp/">WinHelp / HTMLHelp</a></div>
</div>
<div class="MenuChapter"><a href="http://www.codeproject.com/script/Content/Chapter.aspx?chapterId=10" onclick="return ToggleMenu('Chapter10');">Graphics / Design</a></div>
<div class="MenuSectionBlock" id="Chapter10" style="display: none;">
<div class="MI" id="Section40"><a href="http://www.codeproject.com/KB/expression/">Expression</a></div>
<div class="MI" id="Section114"><a href="http://www.codeproject.com/KB/usability/">Usability</a></div>
</div>
<div class="MenuChapter"><a href="http://www.codeproject.com/script/Content/Chapter.aspx?chapterId=11" onclick="return ToggleMenu('Chapter11');">Development Lifecycle</a></div>
<div class="MenuSectionBlock" id="Chapter11" style="display: none;">
<div class="MI" id="Section51"><a href="http://www.codeproject.com/KB/debug/">Debug Tips</a></div>
<div class="MI" id="Section39"><a href="http://www.codeproject.com/KB/architecture/">Design and Architecture</a></div>
<div class="MI" id="Section112"><a href="http://www.codeproject.com/KB/install/">Installation</a></div>
<div class="MI" id="Section41"><a href="http://www.codeproject.com/KB/work/">Work Issues</a></div>
</div>
<div class="MenuChapter"><a href="http://www.codeproject.com/script/Content/Chapter.aspx?chapterId=7" onclick="return ToggleMenu('Chapter7');">General Reading</a></div>
<div class="MenuSectionBlock" id="Chapter7" style="display: none;">
<div class="MI" id="Section60"><a href="http://www.codeproject.com/KB/books/">Book Chapters</a></div>
<div class="MI" id="Section61"><a href="http://www.codeproject.com/KB/book-reviews/">Book Reviews</a></div>
<div class="MI" id="Section109"><a href="http://www.codeproject.com/KB/hardware-review/">Hardware Reviews</a></div>
<div class="MI" id="Section63"><a href="http://www.codeproject.com/KB/interviews/">Interviews</a></div>
<div class="MI" id="Section65"><a href="http://www.codeproject.com/KB/showcase/">Product Showcase</a></div>
<div class="MI" id="Section62"><a href="http://www.codeproject.com/KB/scrapbook/">Scrapbook</a></div>
</div>
</div>
<br>
<div class="MenuCat">Feature Zones</div>
<div class="MenuChapter"><a href="http://www.codeproject.com/kb/showcase/">Product Showcase</a></div>
<div class="MenuChapter"><a href="http://www.codeproject.com/Zones/Install">Install</a></div>
<br>
<script language="javascript">document.write("<a href=\"http://www.codeproject.com/Redir.aspx?adid=4964&way=ban\" target=\"_blank\" rel=\"nofollow\"><img src=\"http://www.codeproject.com/script/Ann/ServeImg.aspx?File=%2fscript%2fadmentor%2fimages%2fInfragistics_160x600.jpg&C=False&id=4964\" alt=\"\" border=\"0\" width=\"160\" height=\"600\"></a>");</script><a href="http://www.codeproject.com/Redir.aspx?adid=4964&way=ban" target="_blank" rel="nofollow"><img src="lyoulhttpclient.aspx_files/ServeImg_003.htm" alt="" border="0" height="600" width="160"></a>
<img src="lyoulhttpclient.aspx_files/t.gif" alt="" height="1" width="160">
</td>
<td class="ArticlePane" valign="top">
<table class="SearchHeaderBar" cellspacing="0" width="100%">
<tbody><tr>
<td style="white-space: nowrap; width: 60%;" align="right" valign="middle">
<form method="get" action="/info/search.aspx" name="Search" style="margin: 0pt;">
<b>Search </b>
<input class="SmallText" name="artkw" style="width: 200px;">
<select class="SmallText" style="font-weight: bold;" name="sbo">
<option value="kw">Articles</option>
<!--<option value="au">Authors</option>-->
<option value="fm">Messages</option>
</select>
<input class="SmallText" style="font-weight: bold;" value=" Go! " type="submit">
</form>
</td>
<td class="TinyText" style="white-space: nowrap;">
<a href="http://www.codeproject.com/info/search.aspx">Advanced Search</a><br>
<a href="http://www.codeproject.com/script/Content/SiteMap.aspx">Sitemap</a>
</td>
</tr>
</tbody></table>
<span id="ctl00_ResultMessage"></span>
<div id="ctl00_ArtDiv">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr valign="top">
<td valign="top">
<table>
</table>
<table border="0" cellpadding="3" cellspacing="1" width="1">
<tbody><tr class="smalltext" valign="middle">
<td style="white-space: nowrap;">
<img src="lyoulhttpclient.aspx_files/print.gif" style="border: 0px none ; vertical-align: middle;" alt="print" height="16" width="16">
<a id="ctl00_ArticleHeaderLinks_PrintLnk" href="http://www.codeproject.com/KB/library/lyoulhttpclient.aspx?display=Print">Print</a>
</td>
<td style="white-space: nowrap;">
<img src="lyoulhttpclient.aspx_files/broken.gif" style="border: 0px none ; vertical-align: middle;" alt="Broken Article?" height="16" width="16">
<a id="ctl00_ArticleHeaderLinks_BrokenLnk" href="http://www.codeproject.com/script/Articles/Report.aspx?aid=7828">Broken Article?</a>
</td>
<td style="white-space: nowrap;">
<img id="ctl00_ArticleHeaderLinks_ArticleBmk_BookmarkImg" src="lyoulhttpclient.aspx_files/link.png" style="border: 0px none ; height: 16px; width: 16px; vertical-align: middle;">
<a id="ctl00_ArticleHeaderLinks_ArticleBmk_BookmarkLnk" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?&obid=7828&obtid=2">Add Bookmark</a>
<span id="ctl00_ArticleHeaderLinks_ArticleBmk_Message"></span>
</td>
<td style="white-space: nowrap;">
<img src="lyoulhttpclient.aspx_files/discuss.gif" style="border: 0px none ; vertical-align: middle;" alt="Discuss" height="16" width="15">
<a href="#_comments">Discuss</a>
</td>
<td style="white-space: nowrap;">
<img src="lyoulhttpclient.aspx_files/mail.gif" style="border: 0px none ; vertical-align: middle;" alt="Recommend Article" height="16" width="16">
<a id="ctl00_ArticleHeaderLinks_Recommend" href="http://www.codeproject.com/script/common/TellFriend.aspx?obtid=2&obid=7828">Send to a friend</a>
</td>
</tr>
</tbody></table>
</td>
<td align="right">
<table>
<tbody><tr>
<td style="white-space: nowrap;" class="SmallText" align="right">
<span id="ctl00_ArticleRating_VoteLabel">38 votes for this Article.</span>
</td>
<td>
<table border="1" cellpadding="0" cellspacing="0">
<tbody><tr>
<td bgcolor="White" height="5" width="20"><img src="lyoulhttpclient.aspx_files/red.gif" border="0" height="5" width="20"></td>
<td bgcolor="White" height="5" width="20"><img src="lyoulhttpclient.aspx_files/red.gif" border="0" height="5" width="20"></td>
<td bgcolor="White" height="5" width="20"><img src="lyoulhttpclient.aspx_files/red.gif" border="0" height="5" width="20"></td>
<td bgcolor="White" height="5" width="20"><img src="lyoulhttpclient.aspx_files/red.gif" border="0" height="5" width="20"></td>
<td bgcolor="White" height="5" nowrap="nowrap" width="20"><img src="lyoulhttpclient.aspx_files/red.gif" border="0" height="5" width="11"></td>
</tr>
</tbody></table>
</td>
</tr>
<tr id="ctl00_ArticleRating_PopularityRow">
<td colspan="2" class="SmallText" align="right">
<a id="ctl00_ArticleRating_PopularityLnk" title="Calculated as rating x Log10(# votes)" href="http://www.codeproject.com/script/Articles/TopArticles.aspx?ta_so=1">Popularity: 7.17</a><span id="ctl00_ArticleRating_PopularityLbl"></span>
Rating: <b>4.54</b> out of 5
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<span name="intelliTxt" id="intelliTXT">
<div id="contentdiv">
<!-- Main Page Contents Start -->
<!-- Article Starts -->
<ul class="download">
<li><a href="http://www.codeproject.com/KB/library/lyoulhttpclient/ryeolhttpclient_src.zip">Download CHttpClient source files - 72.9 KB</a> </li>
<li><a href="http://www.codeproject.com/KB/library/lyoulhttpclient/ryeolhttpclient_demo.zip">Download CHttpClient demo project - 109.9 KB</a> </li>
<li><a href="http://www.codeproject.com/KB/library/lyoulhttpclient/ryeolhttpclient_help.zip">Download CHttpClient help file - 445.9 KB</a> </li>
<li><a href="http://www.codeproject.com/KB/library/lyoulhttpclient/ryeolhttpclientcom_src.zip">Download CHttpClient COM Edition source files - 141.6 KB</a> </li>
<li><a href="http://www.codeproject.com/KB/library/lyoulhttpclient/ryeolhttpclientcom_demo.zip">Download CHttpClient COM Edition demo project - 55.4 KB</a> </li>
<li><a href="http://www.codeproject.com/KB/library/lyoulhttpclient/ryeolhttpclientcom_help.zip">Download CHttpClient COM Edition help file - 218.3 KB</a> </li>
<li><a href="http://www.codeproject.com/KB/library/lyoulhttpclient/ryeolhttpclientcom_bin.zip">Download CHttpClient COM Edition compiled binary - 77.9 KB</a> </li>
</ul>
<img alt="Screenshot - lyoulhttpclient.jpg" src="lyoulhttpclient.aspx_files/lyoulhttpclient.jpg" height="571" width="600">
<h2>Introduction</h2>
<p><code>CHttpClient</code> is a helper class using WinInet API. The
purpose of this class is to help you interact with a HTTP web server.
The class design goal is as follows:</p>
<ul>
<li>Easy to use. </li>
<li>As many flexibilities as possible. </li>
<li>Strict error handling. </li>
</ul>
<p>I will briefly show you how to use this class. All detailed description has been documented in the attached help file.</p>
<h2>How to use CHttpClient</h2>
<p>In your project, include the following files:</p>
<ul>
<li><em>RyeolException.h</em> </li>
<li><em>RyeolException.cpp</em> </li>
<li><em>RyeolHttpClient.h</em> </li>
<li><em>RyeolHttpClient.cpp</em> </li>
<li><em>SafeInt.hpp</em> </li>
</ul>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -