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

Method set_loading

src/entities/response.rs:478–483  ·  view source on GitHub ↗
(&mut self, cx: &mut Context<Self>)

Source from the content-addressed store, hash-verified

476 let had_body_bytes = !self.payload.body_bytes.is_empty();
477
478 if had_body_bytes
479 && !self.payload.body.is_empty()
480 && matches!(
481 Self::classify_content(self.content_type.as_deref(), &self.payload.body_bytes),
482 ContentCategory::Json
483 | ContentCategory::Html
484 | ContentCategory::Xml
485 | ContentCategory::Text
486 )

Callers 1

send_requestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected