From b34990f79058c6b433a970c519ac13b4fec2cf38 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 23 Nov 2024 07:27:47 -0800 Subject: docs: Document removal of NNG_OPT_URL, even though it isn't done yet. We're going to start ripping out support for it. The alternative functions should be used instead. --- docs/ref/migrate/nng1.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/ref/migrate') diff --git a/docs/ref/migrate/nng1.md b/docs/ref/migrate/nng1.md index 1d903215..2b305b75 100644 --- a/docs/ref/migrate/nng1.md +++ b/docs/ref/migrate/nng1.md @@ -166,6 +166,13 @@ The use of `*` to act as a wild card meaning all local interface addresses is removed. The empty string already performs this function, and unlike `*` is RFC compliant. +## URL Option Removed + +The `NNG_OPT_URL` option has been removed. +It is replaced by the type safe [`nng_dialer_get_url`] and +[`nng_listener_get_url`] functions, which return an [`nng_url`] +structure instead of a string. + ## URL Structure Changes The details of [`nng_url`] have changed significantly, and direct -- cgit v1.2.3-70-g09d2