nghttp2_session_callbacks_set_on_frame_recv_callback

Synopsis

#include <nghttp2/nghttp2.h>

void nghttp2_session_callbacks_set_on_frame_recv_callback(nghttp2_session_callbacks *cbs, nghttp2_on_frame_recv_callback on_frame_recv_callback)

Sets callback function invoked by nghttp2_session_recv() and nghttp2_session_mem_recv2() when a frame is received.