int nghttp2_submit_settings(nghttp2_session *session, uint8_t flags, const nghttp2_settings_entry *iv, size_t niv)¶
The flags is currently ignored and should be
This function does not take ownership of the iv. This function copies all the elements in the iv.
While updating individual stream's local window size, if the window size becomes strictly larger than NGHTTP2_MAX_WINDOW_SIZE, RST_STREAM is issued against such a stream.
nghttp2_flag.NGHTTP2_FLAG_ACKis automatically submitted by the library and application could not send it at its will.
This function returns 0 if it succeeds, or one of the following negative error codes: