Function hyper::ffi::hyper_request_new
source · #[no_mangle]
pub extern "C" fn hyper_request_new() -> *mut hyper_request
Available on crate feature
ffi
and hyper_unstable_ffi
only.Expand description
Construct a new HTTP request.
To avoid a memory leak, the request must eventually be consumed by
hyper_request_free
or hyper_clientconn_send
.