nghttp2_session_callbacks_set_data_source_read_length_callback

Synopsis

#include <nghttp2/nghttp2.h>

void nghttp2_session_callbacks_set_data_source_read_length_callback(nghttp2_session_callbacks *cbs, nghttp2_data_source_read_length_callback data_source_read_length_callback)

Sets callback function determine the length allowed in nghttp2_data_source_read_callback.