[][src]Function libnghttp2_sys::nghttp2_option_set_no_auto_ping_ack

pub unsafe extern "C" fn nghttp2_option_set_no_auto_ping_ack(
    option: *mut nghttp2_option,
    val: c_int
)

@function

This option prevents the library from sending PING frame with ACK flag set automatically when PING frame without ACK flag set is received. If this option is set to nonzero, the library won't send PING frame with ACK flag set in the response for incoming PING frame. The application can send PING frame with ACK flag set using nghttp2_submit_ping() with :enum:NGHTTP2_FLAG_ACK as flags parameter.