diff options
| author | gdamore <gdamore@users.noreply.github.com> | 2024-11-23 18:28:41 +0000 |
|---|---|---|
| committer | gdamore <gdamore@users.noreply.github.com> | 2024-11-23 18:28:41 +0000 |
| commit | 998dc32c091b31c6e4fe76122877be6cf8a29723 (patch) | |
| tree | b0562a1528517283e79a883a33ee5a929594f59f /ref/migrate/nng1.html | |
| parent | e3dc82046ade0a7d5345e2161b4a5c6931b6066d (diff) | |
| download | nng-998dc32c091b31c6e4fe76122877be6cf8a29723.tar.gz nng-998dc32c091b31c6e4fe76122877be6cf8a29723.tar.bz2 nng-998dc32c091b31c6e4fe76122877be6cf8a29723.zip | |
deploy: 6dfdcac062fbae3046ab81326b57599d3645705f
Diffstat (limited to 'ref/migrate/nng1.html')
| -rw-r--r-- | ref/migrate/nng1.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ref/migrate/nng1.html b/ref/migrate/nng1.html index 82f4a51b..b325cbd2 100644 --- a/ref/migrate/nng1.html +++ b/ref/migrate/nng1.html @@ -348,6 +348,11 @@ certain methods variables <code>const</code> to avoid warnings about misuse of < <p>The use of <code>*</code> to act as a wild card meaning all local interface addresses is removed. The empty string already performs this function, and unlike <code>*</code> is RFC compliant.</p> +<h2 id="url-option-removed"><a class="header" href="#url-option-removed">URL Option Removed</a></h2> +<p>The <code>NNG_OPT_URL</code> option has been removed. +It is replaced by the type safe <a href="/TODO.html"><code>nng_dialer_get_url</code></a> and +<a href="/TODO.html"><code>nng_listener_get_url</code></a> functions, which return an <a href="/api/url.html#url-structure"><code>nng_url</code></a> +structure instead of a string.</p> <h2 id="url-structure-changes"><a class="header" href="#url-structure-changes">URL Structure Changes</a></h2> <p>The details of <a href="/api/url.html#url-structure"><code>nng_url</code></a> have changed significantly, and direct access of the structure is no longer permitted. Intead new |
