Function hyper::ffi::hyper_io_new

source ·
#[no_mangle]
pub extern "C" fn hyper_io_new() -> *mut hyper_io
Expand description

Create a new IO type used to represent a transport.

The read and write functions of this transport should be set with hyper_io_set_read and hyper_io_set_write.