diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-22 11:40:36 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-22 11:40:36 -0800 |
| commit | 8d1b52931b1d7ad8fabffe0098b9bc31c0b61a9b (patch) | |
| tree | b6bf2966a0fa4dbabcd06bdaf0135776f11f6563 /docs/ref/migrate | |
| parent | 6800bdd8b9e3fd4488bab56cd9fb12206d0631f6 (diff) | |
| download | nng-8d1b52931b1d7ad8fabffe0098b9bc31c0b61a9b.tar.gz nng-8d1b52931b1d7ad8fabffe0098b9bc31c0b61a9b.tar.bz2 nng-8d1b52931b1d7ad8fabffe0098b9bc31c0b61a9b.zip | |
http: method on request structure is now static
This saves yet another allocation. It also no longer returns a value
making this a breaking change.
Diffstat (limited to 'docs/ref/migrate')
| -rw-r--r-- | docs/ref/migrate/nng1.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/migrate/nng1.md b/docs/ref/migrate/nng1.md index bff5b581..bca68e38 100644 --- a/docs/ref/migrate/nng1.md +++ b/docs/ref/migrate/nng1.md @@ -219,6 +219,10 @@ accessors functions are provided: - `u_host` is removed - use [`nng_url_hostname`] and [`nng_url_port`] to construct if needed - `u_rawurl` is removed - a "cooked" URL can be obtained from the new [`nng_url_sprintf`] function. +## HTTP API + +The [`nng_http_req_set_method`] no longer returns a value. It never fails, but it may truncate an unreasonably long value. + ## Security Descriptors (Windows Only) The `NNG_OPT_IPC_SECURITY_DESCRIPTOR` option is removed, and replaced |
