Skip to content

Commit f70adfb

Browse files
Update docs: 8505264: [ADDED] Support %-encoded username/password in server URLs
Co-authored-by: levb <[email protected]>
1 parent 8505264 commit f70adfb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+2598
-2551
lines changed

doc/html/globals_func_n.html

+3
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ <h3><a id="index_n"></a>- n -</h3><ul>
236236
<li>natsConnection_QueueSubscribeTimeout()
237237
: <a class="el" href="group__conn_sub_group.html#ga96fa115fd5b2ef7658884da80714b91c">nats.h</a>
238238
</li>
239+
<li>natsConnection_Reconnect()
240+
: <a class="el" href="group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e">nats.h</a>
241+
</li>
239242
<li>natsConnection_Request()
240243
: <a class="el" href="group__conn_pub_group.html#gaf4b4a022f9c21fc269b87c000330c5a7">nats.h</a>
241244
</li>

doc/html/globals_n.html

+3
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,9 @@ <h3><a id="index_n"></a>- n -</h3><ul>
377377
<li>natsConnection_QueueSubscribeTimeout()
378378
: <a class="el" href="group__conn_sub_group.html#ga96fa115fd5b2ef7658884da80714b91c">nats.h</a>
379379
</li>
380+
<li>natsConnection_Reconnect()
381+
: <a class="el" href="group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e">nats.h</a>
382+
</li>
380383
<li>natsConnection_Request()
381384
: <a class="el" href="group__conn_pub_group.html#gaf4b4a022f9c21fc269b87c000330c5a7">nats.h</a>
382385
</li>

doc/html/group__conn_mgt_group.html

+28
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@
9595
<tr class="memitem:ga740be1ba16a8570eb98ef6755ebf52ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="el" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">natsConnection_Connect</a> (<a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> **nc, <a class="el" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *options)</td></tr>
9696
<tr class="memdesc:ga740be1ba16a8570eb98ef6755ebf52ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connects to a <code>NATS Server</code> using the provided options. <a href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">More...</a><br /></td></tr>
9797
<tr class="separator:ga740be1ba16a8570eb98ef6755ebf52ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
98+
<tr class="memitem:gab189a6974024f58944cdaa5612d4587e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e">natsConnection_Reconnect</a> (<a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc)</td></tr>
99+
<tr class="memdesc:gab189a6974024f58944cdaa5612d4587e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Causes the client to drop the connection to the current server and perform standard reconnection process. <a href="group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e">More...</a><br /></td></tr>
100+
<tr class="separator:gab189a6974024f58944cdaa5612d4587e"><td class="memSeparator" colspan="2">&#160;</td></tr>
98101
<tr class="memitem:gaa89c06e30e19ff361125bfc9114d89a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">natsConnection_ProcessReadEvent</a> (<a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc)</td></tr>
99102
<tr class="memdesc:gaa89c06e30e19ff361125bfc9114d89a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a read event when using external event loop. <a href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">More...</a><br /></td></tr>
100103
<tr class="separator:gaa89c06e30e19ff361125bfc9114d89a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -218,6 +221,31 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga740be1ba16a8570eb98ef67
218221
</dd>
219222
</dl>
220223

224+
</div>
225+
</div>
226+
<a id="gab189a6974024f58944cdaa5612d4587e"></a>
227+
<h2 class="memtitle"><span class="permalink"><a href="#gab189a6974024f58944cdaa5612d4587e">&#9670;&nbsp;</a></span>natsConnection_Reconnect()</h2>
228+
229+
<div class="memitem">
230+
<div class="memproto">
231+
<table class="memname">
232+
<tr>
233+
<td class="memname"><a class="el" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> natsConnection_Reconnect </td>
234+
<td>(</td>
235+
<td class="paramtype"><a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *&#160;</td>
236+
<td class="paramname"><em>nc</em></td><td>)</td>
237+
<td></td>
238+
</tr>
239+
</table>
240+
</div><div class="memdoc">
241+
<p>This means that all subscriptions and consumers should be resubscribed and their work resumed after successful reconnect where all reconnect options are respected.</p>
242+
<dl class="params"><dt>Parameters</dt><dd>
243+
<table class="params">
244+
<tr><td class="paramname">nc</td><td>the pointer to the <a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec" title="A connection to a NATS Server.">natsConnection</a> object. </td></tr>
245+
</table>
246+
</dd>
247+
</dl>
248+
221249
</div>
222250
</div>
223251
<a id="gaa89c06e30e19ff361125bfc9114d89a8"></a>

doc/html/group__conn_mgt_group.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
var group__conn_mgt_group =
22
[
33
[ "natsConnection_Connect", "group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce", null ],
4+
[ "natsConnection_Reconnect", "group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e", null ],
45
[ "natsConnection_ProcessReadEvent", "group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8", null ],
56
[ "natsConnection_ProcessWriteEvent", "group__conn_mgt_group.html#gad81b603b84c0180aefc6d5ebad7f2a47", null ],
67
[ "natsConnection_ConnectTo", "group__conn_mgt_group.html#gafb83c8d7970ba68be0e6c40c38cdfde4", null ],

doc/html/nats_8h.html

+3
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,9 @@
931931
<tr class="memitem:ga740be1ba16a8570eb98ef6755ebf52ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="el" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">natsConnection_Connect</a> (<a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> **nc, <a class="el" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *options)</td></tr>
932932
<tr class="memdesc:ga740be1ba16a8570eb98ef6755ebf52ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connects to a <code>NATS Server</code> using the provided options. <a href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">More...</a><br /></td></tr>
933933
<tr class="separator:ga740be1ba16a8570eb98ef6755ebf52ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
934+
<tr class="memitem:gab189a6974024f58944cdaa5612d4587e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e">natsConnection_Reconnect</a> (<a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc)</td></tr>
935+
<tr class="memdesc:gab189a6974024f58944cdaa5612d4587e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Causes the client to drop the connection to the current server and perform standard reconnection process. <a href="group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e">More...</a><br /></td></tr>
936+
<tr class="separator:gab189a6974024f58944cdaa5612d4587e"><td class="memSeparator" colspan="2">&#160;</td></tr>
934937
<tr class="memitem:gaa89c06e30e19ff361125bfc9114d89a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">natsConnection_ProcessReadEvent</a> (<a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc)</td></tr>
935938
<tr class="memdesc:gaa89c06e30e19ff361125bfc9114d89a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a read event when using external event loop. <a href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">More...</a><br /></td></tr>
936939
<tr class="separator:gaa89c06e30e19ff361125bfc9114d89a8"><td class="memSeparator" colspan="2">&#160;</td></tr>

doc/html/nats_8h.js

+1
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ var nats_8h =
280280
[ "stanMsg_GetDataLength", "group__stan_msg_group.html#ga7d1e394a686bc25ab7376b7f28b9e777", null ],
281281
[ "stanMsg_Destroy", "group__stan_msg_group.html#gacd0059fb499963f5b2eae18053e5f74f", null ],
282282
[ "natsConnection_Connect", "group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce", null ],
283+
[ "natsConnection_Reconnect", "group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e", null ],
283284
[ "natsConnection_ProcessReadEvent", "group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8", null ],
284285
[ "natsConnection_ProcessWriteEvent", "group__conn_mgt_group.html#gad81b603b84c0180aefc6d5ebad7f2a47", null ],
285286
[ "natsConnection_ConnectTo", "group__conn_mgt_group.html#gafb83c8d7970ba68be0e6c40c38cdfde4", null ],

0 commit comments

Comments
 (0)