Skip to main content

Module http

Module http 

Source
Expand description

Http operation - perform HTTP requests with timeout and header control.

The Http builder sends an HTTP request via reqwest, captures the response, and returns an HttpOutput on success. It implements IntoFuture so you can await it directly:

use ironflow_core::operations::http::Http;

let output = Http::get("https://httpbin.org/get").await?;
println!("status: {}", output.status());

Structsยง

Http
Builder for executing an HTTP request.
HttpOutput
Output of a completed HTTP request.