[−][src]Function libnghttp2_sys::nghttp2_option_set_builtin_recv_extension_type
pub unsafe extern "C" fn nghttp2_option_set_builtin_recv_extension_type(
option: *mut nghttp2_option,
type_: u8
)
@function
Sets extension frame type the application is willing to receive using builtin handler. The |type| is the extension frame type to receive, and must be strictly greater than 0x9. Otherwise, this function does nothing. The application can call this function multiple times to set more than one frame type to receive. The application does not have to call this function if it just sends extension frames.
If same frame type is passed to both
nghttp2_option_set_builtin_recv_extension_type()
and
nghttp2_option_set_user_recv_extension_type()
, the latter takes
precedence.