int nghttp2_submit_priority_update(nghttp2_session *session, uint8_t flags, int32_t stream_id, const uint8_t *field_value, size_t field_value_len)
Submits PRIORITY_UPDATE frame.
PRIORITY_UPDATE frame is a non-critical extension to HTTP/2, and defined in RFC 9218#section-7.1.
The flags is currently ignored and should be
The stream_id is the ID of stream which is prioritized. The field_value points to the Priority field value. The field_value_len is the length of the Priority field value.
If this function is called by server,
nghttp2_settings_id.NGHTTP2_SETTINGS_NO_RFC7540_PRIORITIESof value of 0 is received by a remote endpoint (or it is omitted), this function does nothing and returns 0.
This function returns 0 if it succeeds, or one of the following negative error codes: