MCPcopy Create free account
hub / github.com/bajrangCoder/setu / InFlightRequest

Class InFlightRequest

src/http/client.rs:19–21  ·  view source on GitHub ↗

Handle for canceling an in-flight HTTP request.

Source from the content-addressed store, hash-verified

17
18/// Handle for canceling an in-flight HTTP request.
19pub struct InFlightRequest {
20 task: Option<JoinHandle<()>>,
21}
22
23impl InFlightRequest {
24 pub fn cancel(&mut self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected