Function hyper::ffi::hyper_clientconn_options_http2[][src]

#[no_mangle]
pub extern "C" fn hyper_clientconn_options_http2(
    opts: *mut hyper_clientconn_options,
    enabled: c_int
) -> hyper_code
Expand description

Set the whether to use HTTP2.

Pass 0 to disable, 1 to enable.