MCPcopy Create free account
hub / github.com/awslabs/llrt / agent

Method agent

modules/llrt_fetch/src/request.rs:385–387  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

383
384 #[qjs(get)]
385 fn agent(&self) -> Option<Class<'js, Agent>> {
386 self.agent.clone()
387 }
388
389 pub fn text(&self, ctx: Ctx<'js>) -> Result<Promise<'js>> {
390 let body = match self.take_body_sync(&ctx) {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected