Files
sm1.13-ripext/nghttp2/doc/nghttp2_priority_spec_init.rst
jenz 08c03ac533
CI / Build (clang, clang++, ubuntu-22.04, linux, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Build (clang, clang++, windows-2022, windows, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Release (push) Canceled after 0s
first commit
2026-09-13 22:18:11 +01:00

19 lines
522 B
ReStructuredText

nghttp2_priority_spec_init
==========================
Synopsis
--------
*#include <nghttp2/nghttp2.h>*
.. function:: void nghttp2_priority_spec_init(nghttp2_priority_spec *pri_spec, int32_t stream_id, int32_t weight, int exclusive)
Initializes *pri_spec* with the *stream_id* of the stream to depend
on with *weight* and its exclusive flag. If *exclusive* is
nonzero, exclusive flag is set.
The *weight* must be in [:macro:`NGHTTP2_MIN_WEIGHT`,
:macro:`NGHTTP2_MAX_WEIGHT`], inclusive.