Skip to content

Commit 5c4da41

Browse files
committed
Doxygen for ba67ef0
1 parent fce7db9 commit 5c4da41

24 files changed

Lines changed: 443 additions & 442 deletions

main/core__http__client_8c.html

Lines changed: 32 additions & 32 deletions
Large diffs are not rendered by default.

main/core__http__client_8h.html

Lines changed: 24 additions & 24 deletions
Large diffs are not rendered by default.

main/core__http__client_8h_source.html

Lines changed: 256 additions & 255 deletions
Large diffs are not rendered by default.

main/core__http__client__private_8h_source.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
</div><!--header-->
102102
<div class="contents">
103103
<a href="core__http__client__private_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
104-
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * coreHTTP v3.1.1</span></div>
104+
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * coreHTTP</span></div>
105105
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.</span></div>
106106
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> *</span></div>
107107
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * SPDX-License-Identifier: MIT</span></div>
@@ -273,7 +273,7 @@
273273
<div class="ttc" id="astruct_h_t_t_p_parsing_context__t_html_ad51bd758cbd948379501c4dc9c8ac883"><div class="ttname"><a href="struct_h_t_t_p_parsing_context__t.html#ad51bd758cbd948379501c4dc9c8ac883">HTTPParsingContext_t::pBufferCur</a></div><div class="ttdeci">const char * pBufferCur</div><div class="ttdef"><b>Definition:</b> core_http_client_private.h:303</div></div>
274274
<div class="ttc" id="astruct_h_t_t_p_parsing_context__t_html_ad76fd5c0284963414074fad62eb0cd02"><div class="ttname"><a href="struct_h_t_t_p_parsing_context__t.html#ad76fd5c0284963414074fad62eb0cd02">HTTPParsingContext_t::isHeadResponse</a></div><div class="ttdeci">uint8_t isHeadResponse</div><div class="ttdef"><b>Definition:</b> core_http_client_private.h:301</div></div>
275275
<div class="ttc" id="astruct_h_t_t_p_parsing_context__t_html_ae5bdb96134074a3afd9816263445d591"><div class="ttname"><a href="struct_h_t_t_p_parsing_context__t.html#ae5bdb96134074a3afd9816263445d591">HTTPParsingContext_t::llhttpSettings</a></div><div class="ttdeci">llhttp_settings_t llhttpSettings</div><div class="ttdef"><b>Definition:</b> core_http_client_private.h:298</div></div>
276-
<div class="ttc" id="astruct_h_t_t_p_response__t_html"><div class="ttname"><a href="struct_h_t_t_p_response__t.html">HTTPResponse_t</a></div><div class="ttdoc">Represents an HTTP response.</div><div class="ttdef"><b>Definition:</b> core_http_client.h:470</div></div>
276+
<div class="ttc" id="astruct_h_t_t_p_response__t_html"><div class="ttname"><a href="struct_h_t_t_p_response__t.html">HTTPResponse_t</a></div><div class="ttdoc">Represents an HTTP response.</div><div class="ttdef"><b>Definition:</b> core_http_client.h:480</div></div>
277277
<div class="ttc" id="astructfind_header_context__t_html"><div class="ttname"><a href="structfind_header_context__t.html">findHeaderContext_t</a></div><div class="ttdoc">An aggregator that represents the user-provided parameters to the HTTPClient_ReadHeader API function....</div><div class="ttdef"><b>Definition:</b> core_http_client_private.h:223</div></div>
278278
<div class="ttc" id="astructfind_header_context__t_html_a1426be39bf89d99c7b1ae54589968e20"><div class="ttname"><a href="structfind_header_context__t.html#a1426be39bf89d99c7b1ae54589968e20">findHeaderContext_t::pValueLoc</a></div><div class="ttdeci">const char ** pValueLoc</div><div class="ttdef"><b>Definition:</b> core_http_client_private.h:226</div></div>
279279
<div class="ttc" id="astructfind_header_context__t_html_a6f9016d3a374fe15bcff964ecffe10dd"><div class="ttname"><a href="structfind_header_context__t.html#a6f9016d3a374fe15bcff964ecffe10dd">findHeaderContext_t::fieldLen</a></div><div class="ttdeci">size_t fieldLen</div><div class="ttdef"><b>Definition:</b> core_http_client_private.h:225</div></div>

main/core__http__config__defaults_8h.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
<tr class="memdesc:ad588638704f5bfbc30bc56f971dba343"><td class="mdescLeft">&#160;</td><td class="mdescRight">The HTTP header "User-Agent" value. <br /></td></tr>
115115
<tr class="separator:ad588638704f5bfbc30bc56f971dba343"><td class="memSeparator" colspan="2">&#160;</td></tr>
116116
<tr class="memitem:a909c2c6f89016b92bd848527f671e8f2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="core__http__config__defaults_8h.html#a909c2c6f89016b92bd848527f671e8f2">HTTP_RECV_RETRY_TIMEOUT_MS</a>&#160;&#160;&#160;( 10U )</td></tr>
117-
<tr class="memdesc:a909c2c6f89016b92bd848527f671e8f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum duration between non-empty network reads while receiving an HTTP response via the <a class="el" href="core__http__client_8c.html#aa33b3334128496487d820f0da7ae5601" title="Send the request headers in HTTPRequestHeaders_t.pBuffer and request body in pRequestBodyBuf over the...">HTTPClient_Send</a> API function. <br /></td></tr>
117+
<tr class="memdesc:a909c2c6f89016b92bd848527f671e8f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum duration between non-empty network reads while receiving an HTTP response via the <a class="el" href="core__http__client_8c.html#abe7bfa9af16125ebf1af6f45c099dfc7" title="Receive the HTTP response from the network and parse it.">HTTPClient_ReceiveAndParseHttpResponse</a> API function. <br /></td></tr>
118118
<tr class="separator:a909c2c6f89016b92bd848527f671e8f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
119119
<tr class="memitem:ae498a6815f6925b8283ce0babc101946"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="core__http__config__defaults_8h.html#ae498a6815f6925b8283ce0babc101946">HTTP_SEND_RETRY_TIMEOUT_MS</a>&#160;&#160;&#160;( 10U )</td></tr>
120120
<tr class="memdesc:ae498a6815f6925b8283ce0babc101946"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum duration between non-empty network transmissions while sending an HTTP request via the <a class="el" href="core__http__client_8c.html#aa33b3334128496487d820f0da7ae5601" title="Send the request headers in HTTPRequestHeaders_t.pBuffer and request body in pRequestBodyBuf over the...">HTTPClient_Send</a> API function. <br /></td></tr>
@@ -167,10 +167,10 @@ <h2 class="memtitle"><span class="permalink"><a href="#a909c2c6f89016b92bd848527
167167
</table>
168168
</div><div class="memdoc">
169169

170-
<p>The maximum duration between non-empty network reads while receiving an HTTP response via the <a class="el" href="core__http__client_8c.html#aa33b3334128496487d820f0da7ae5601" title="Send the request headers in HTTPRequestHeaders_t.pBuffer and request body in pRequestBodyBuf over the...">HTTPClient_Send</a> API function. </p>
170+
<p>The maximum duration between non-empty network reads while receiving an HTTP response via the <a class="el" href="core__http__client_8c.html#abe7bfa9af16125ebf1af6f45c099dfc7" title="Receive the HTTP response from the network and parse it.">HTTPClient_ReceiveAndParseHttpResponse</a> API function. </p>
171171
<p>The transport receive function may be called multiple times until the end of the response is detected by the parser. This timeout represents the maximum duration that is allowed without any data reception from the network for the incoming response.</p>
172-
<p>If the timeout expires, the <a class="el" href="core__http__client_8c.html#aa33b3334128496487d820f0da7ae5601" title="Send the request headers in HTTPRequestHeaders_t.pBuffer and request body in pRequestBodyBuf over the...">HTTPClient_Send</a> function will return <a class="el" href="group__http__enum__types.html#gga39fad9050063a355ffd95e95381e743fa59fa581a112b1994db1c45d8a7f84160" title="A network error was returned from the transport interface.">HTTPNetworkError</a>.</p>
173-
<p>If <a class="el" href="struct_h_t_t_p_response__t.html#ac6001c06fdaae311c3ddf859b9b3a3ce" title="Optional callback for getting the system time.">HTTPResponse_t.getTime</a> is set to NULL, then this HTTP_RECV_RETRY_TIMEOUT_MS is unused. When this timeout is unused, <a class="el" href="core__http__client_8c.html#aa33b3334128496487d820f0da7ae5601" title="Send the request headers in HTTPRequestHeaders_t.pBuffer and request body in pRequestBodyBuf over the...">HTTPClient_Send</a> will not retry the transport receive calls that return zero bytes read.</p>
172+
<p>If the timeout expires, the <a class="el" href="core__http__client_8c.html#abe7bfa9af16125ebf1af6f45c099dfc7" title="Receive the HTTP response from the network and parse it.">HTTPClient_ReceiveAndParseHttpResponse</a> function will return <a class="el" href="group__http__enum__types.html#gga39fad9050063a355ffd95e95381e743fa59fa581a112b1994db1c45d8a7f84160" title="A network error was returned from the transport interface.">HTTPNetworkError</a>.</p>
173+
<p>If <a class="el" href="struct_h_t_t_p_response__t.html#ac6001c06fdaae311c3ddf859b9b3a3ce" title="Optional callback for getting the system time.">HTTPResponse_t.getTime</a> is set to NULL, then this HTTP_RECV_RETRY_TIMEOUT_MS is unused. When this timeout is unused, <a class="el" href="core__http__client_8c.html#abe7bfa9af16125ebf1af6f45c099dfc7" title="Receive the HTTP response from the network and parse it.">HTTPClient_ReceiveAndParseHttpResponse</a> will not retry the transport receive calls that return zero bytes read.</p>
174174
<p><b>Possible values:</b> Any positive 32 bit integer. A small timeout value is recommended. <br />
175175
<b>Default value:</b> <code>10</code> </p>
176176

main/core__http__config__defaults_8h_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
</div><!--header-->
102102
<div class="contents">
103103
<a href="core__http__config__defaults_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
104-
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * coreHTTP v3.1.1</span></div>
104+
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * coreHTTP</span></div>
105105
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.</span></div>
106106
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> *</span></div>
107107
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * SPDX-License-Identifier: MIT</span></div>

main/globals.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ <h3><a id="index_f" name="index_f"></a>- f -</h3><ul>
129129

130130

131131
<h3><a id="index_g" name="index_g"></a>- g -</h3><ul>
132-
<li>getFinalResponseStatus()&#160;:&#160;<a class="el" href="core__http__client_8c.html#a7cc749a54dc2f77951341f2aa3ba8988">core_http_client.c</a></li>
132+
<li>getFinalResponseStatus()&#160;:&#160;<a class="el" href="core__http__client_8c.html#a56c86bc115c7a47380deaaf51b16c918">core_http_client.c</a></li>
133133
<li>getZeroTimestampMs()&#160;:&#160;<a class="el" href="core__http__client_8c.html#a11d42680d4c46335520d4cf2c7b4ab2d">core_http_client.c</a></li>
134134
</ul>
135135

main/globals_func.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ <h3><a id="index_f" name="index_f"></a>- f -</h3><ul>
121121

122122

123123
<h3><a id="index_g" name="index_g"></a>- g -</h3><ul>
124-
<li>getFinalResponseStatus()&#160;:&#160;<a class="el" href="core__http__client_8c.html#a7cc749a54dc2f77951341f2aa3ba8988">core_http_client.c</a></li>
124+
<li>getFinalResponseStatus()&#160;:&#160;<a class="el" href="core__http__client_8c.html#a56c86bc115c7a47380deaaf51b16c918">core_http_client.c</a></li>
125125
<li>getZeroTimestampMs()&#160;:&#160;<a class="el" href="core__http__client_8c.html#a11d42680d4c46335520d4cf2c7b4ab2d">core_http_client.c</a></li>
126126
</ul>
127127

main/group__http__callback__types.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga227df31d6daf07e5d833537
154154
</div><div class="memdoc">
155155

156156
<p>Transport interface for receiving data on the network. </p>
157-
<dl class="section note"><dt>Note</dt><dd>It is HIGHLY RECOMMENDED that the transport receive implementation does NOT block. coreMQTT will continue to call the transport interface if it receives a partial packet until it accumulates enough data to get the complete MQTT packet.</dd></dl>
157+
<dl class="section note"><dt>Note</dt><dd>It is HIGHLY RECOMMENDED that the transport receive implementation does NOT block. coreMQTT will continue to call the transport interface if it receives a partial packet until it accumulates enough data to get the complete MQTT packet. A non‐blocking implementation is also essential so that the library's inbuilt keep‐alive mechanism can work properly, given the user chooses to use that over their own keep alive mechanism.</dd></dl>
158158
<dl class="params"><dt>Parameters</dt><dd>
159159
<table class="params">
160160
<tr><td class="paramdir">[in]</td><td class="paramname">pNetworkContext</td><td>Implementation-defined network context. </td></tr>

main/http_config.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ <h1><a class="anchor" id="HTTP_SEND_RETRY_TIMEOUT_MS"></a>
124124
<b>Default value:</b> <code>10</code> </p>
125125
<h1><a class="anchor" id="HTTP_RECV_RETRY_TIMEOUT_MS"></a>
126126
HTTP_RECV_RETRY_TIMEOUT_MS</h1>
127-
<p>The maximum duration between non-empty network reads while receiving an HTTP response via the <a class="el" href="core__http__client_8c.html#aa33b3334128496487d820f0da7ae5601" title="Send the request headers in HTTPRequestHeaders_t.pBuffer and request body in pRequestBodyBuf over the...">HTTPClient_Send</a> API function. </p>
127+
<p>The maximum duration between non-empty network reads while receiving an HTTP response via the <a class="el" href="core__http__client_8c.html#abe7bfa9af16125ebf1af6f45c099dfc7" title="Receive the HTTP response from the network and parse it.">HTTPClient_ReceiveAndParseHttpResponse</a> API function. </p>
128128
<p>The transport receive function may be called multiple times until the end of the response is detected by the parser. This timeout represents the maximum duration that is allowed without any data reception from the network for the incoming response.</p>
129-
<p>If the timeout expires, the <a class="el" href="core__http__client_8c.html#aa33b3334128496487d820f0da7ae5601" title="Send the request headers in HTTPRequestHeaders_t.pBuffer and request body in pRequestBodyBuf over the...">HTTPClient_Send</a> function will return <a class="el" href="group__http__enum__types.html#gga39fad9050063a355ffd95e95381e743fa59fa581a112b1994db1c45d8a7f84160" title="A network error was returned from the transport interface.">HTTPNetworkError</a>.</p>
130-
<p>If <a class="el" href="struct_h_t_t_p_response__t.html#ac6001c06fdaae311c3ddf859b9b3a3ce" title="Optional callback for getting the system time.">HTTPResponse_t.getTime</a> is set to NULL, then this HTTP_RECV_RETRY_TIMEOUT_MS is unused. When this timeout is unused, <a class="el" href="core__http__client_8c.html#aa33b3334128496487d820f0da7ae5601" title="Send the request headers in HTTPRequestHeaders_t.pBuffer and request body in pRequestBodyBuf over the...">HTTPClient_Send</a> will not retry the transport receive calls that return zero bytes read.</p>
129+
<p>If the timeout expires, the <a class="el" href="core__http__client_8c.html#abe7bfa9af16125ebf1af6f45c099dfc7" title="Receive the HTTP response from the network and parse it.">HTTPClient_ReceiveAndParseHttpResponse</a> function will return <a class="el" href="group__http__enum__types.html#gga39fad9050063a355ffd95e95381e743fa59fa581a112b1994db1c45d8a7f84160" title="A network error was returned from the transport interface.">HTTPNetworkError</a>.</p>
130+
<p>If <a class="el" href="struct_h_t_t_p_response__t.html#ac6001c06fdaae311c3ddf859b9b3a3ce" title="Optional callback for getting the system time.">HTTPResponse_t.getTime</a> is set to NULL, then this HTTP_RECV_RETRY_TIMEOUT_MS is unused. When this timeout is unused, <a class="el" href="core__http__client_8c.html#abe7bfa9af16125ebf1af6f45c099dfc7" title="Receive the HTTP response from the network and parse it.">HTTPClient_ReceiveAndParseHttpResponse</a> will not retry the transport receive calls that return zero bytes read.</p>
131131
<p><b>Possible values:</b> Any positive 32 bit integer. A small timeout value is recommended. <br />
132132
<b>Default value:</b> <code>10</code> </p>
133133
<h1><a class="anchor" id="http_logerror"></a>

0 commit comments

Comments
 (0)