Skip to main content

cmd_for_request_parts_and_payload_with_options

Function cmd_for_request_parts_and_payload_with_options 

pub fn cmd_for_request_parts_and_payload_with_options(
    parts: &(impl HttpRequestParts + AuthorityInputExt + ProtocolInputExt),
    payload: &Bytes,
    options: CurlExportOptions,
) -> Command
Available on crate features http and std only.
Expand description

Create a curl Command with an inline payload and explicit policies.