Skip to content

Commit

Permalink
deploy: 0058b76
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Nov 10, 2024
1 parent 0bd3a9f commit c74607b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
15 changes: 10 additions & 5 deletions ref/migrate/nng1.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,17 @@ <h2 id="transport-specific-functions"><a class="header" href="#transport-specifi
<code>NNG_OPT_WS_OPT_WS_REQUEST_HEADERS</code> and <code>NNG_OPT_WS_RESPONSE_HEADERS</code> have been removed.
Just convert any use of them to <code>NNG_OPT_WS_REQUEST_HEADERS</code> or
<code>NNG_OPT_WS_RESPONSE_HEADERS</code> as appropriate.</p>
<h2 id="tls-options"><a class="header" href="#tls-options">TLS Options</a></h2>
<p>The support for configuring TLS via <code>NNG_TLS_AUTH_MODE</code>, <code>NNG_OPT_TLS_CA_FILE</code>, <code>NNG_OPT_TLS_SERVER_NAME</code>,
and similar has been removed. Instead configuration must be performed by allocating
<h2 id="tls-configuration"><a class="header" href="#tls-configuration">TLS Configuration</a></h2>
<p>The support for configuring TLS via <code>NNG_OPT_TLS_CONFIG</code>, <code>NNG_TLS_AUTH_MODE</code>, <code>NNG_OPT_TLS_CA_FILE</code>,
<code>NNG_OPT_TLS_SERVER_NAME</code>, and similar has been removed.</p>
<p>Instead configuration must be performed by allocating
a <code>nng_tls_config</code> object, and then setting fields on it using the appropriate functions,
after which it may be configured on a listener or dialer using the <code>NNG_OPT_TLS_CONFIG</code> option.</p>
<p>Note that TLS configuration is now available in <code>&lt;nng/nng.h&gt;</code>, rather than the supplemental header.</p>
after which it may be configured on a listener or dialer using the <a href="/TODO.html"><code>nng_listener_set_tls</code></a>
or <a href="/TODO.html"><code>nng_dialer_set_tls</code></a> functions.</p>
<p>Likewise, when using the streams API, use the <a href="/TODO.html"><code>nng_stream_listener_set_tls</code></a> or
<a href="/TODO.html"><code>nng_stream_dialer_set_tls</code></a> functions.</p>
<p>Note that the declarations needed for TLS configuration are now available in <code>&lt;nng/nng.h&gt;</code>,
rather than the supplemental header.</p>
<h2 id="option-functions"><a class="header" href="#option-functions">Option Functions</a></h2>
<p>The previously deprecated <code>nng_pipe_getopt_xxx</code> family of functions is removed.
Applications should use <code>nng_pipe_get</code> and related functions instead.</p>
Expand Down
15 changes: 10 additions & 5 deletions ref/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -5436,12 +5436,17 @@ <h2 id="transport-specific-functions"><a class="header" href="#transport-specifi
<code>NNG_OPT_WS_OPT_WS_REQUEST_HEADERS</code> and <code>NNG_OPT_WS_RESPONSE_HEADERS</code> have been removed.
Just convert any use of them to <code>NNG_OPT_WS_REQUEST_HEADERS</code> or
<code>NNG_OPT_WS_RESPONSE_HEADERS</code> as appropriate.</p>
<h2 id="tls-options"><a class="header" href="#tls-options">TLS Options</a></h2>
<p>The support for configuring TLS via <code>NNG_TLS_AUTH_MODE</code>, <code>NNG_OPT_TLS_CA_FILE</code>, <code>NNG_OPT_TLS_SERVER_NAME</code>,
and similar has been removed. Instead configuration must be performed by allocating
<h2 id="tls-configuration"><a class="header" href="#tls-configuration">TLS Configuration</a></h2>
<p>The support for configuring TLS via <code>NNG_OPT_TLS_CONFIG</code>, <code>NNG_TLS_AUTH_MODE</code>, <code>NNG_OPT_TLS_CA_FILE</code>,
<code>NNG_OPT_TLS_SERVER_NAME</code>, and similar has been removed.</p>
<p>Instead configuration must be performed by allocating
a <code>nng_tls_config</code> object, and then setting fields on it using the appropriate functions,
after which it may be configured on a listener or dialer using the <code>NNG_OPT_TLS_CONFIG</code> option.</p>
<p>Note that TLS configuration is now available in <code>&lt;nng/nng.h&gt;</code>, rather than the supplemental header.</p>
after which it may be configured on a listener or dialer using the <a href="migrate//TODO.html"><code>nng_listener_set_tls</code></a>
or <a href="migrate//TODO.html"><code>nng_dialer_set_tls</code></a> functions.</p>
<p>Likewise, when using the streams API, use the <a href="migrate//TODO.html"><code>nng_stream_listener_set_tls</code></a> or
<a href="migrate//TODO.html"><code>nng_stream_dialer_set_tls</code></a> functions.</p>
<p>Note that the declarations needed for TLS configuration are now available in <code>&lt;nng/nng.h&gt;</code>,
rather than the supplemental header.</p>
<h2 id="option-functions"><a class="header" href="#option-functions">Option Functions</a></h2>
<p>The previously deprecated <code>nng_pipe_getopt_xxx</code> family of functions is removed.
Applications should use <code>nng_pipe_get</code> and related functions instead.</p>
Expand Down
2 changes: 1 addition & 1 deletion ref/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ref/searchindex.json

Large diffs are not rendered by default.

0 comments on commit c74607b

Please sign in to comment.