MCPcopy Create free account
hub / github.com/PerroEngine/Perro / build_agent

Function build_agent

perro_source/api_modules/perro_networking/src/http.rs:487–497  ·  view source on GitHub ↗
(config: &HttpConfig)

Source from the content-addressed store, hash-verified

485 Err(TrySendError::Disconnected(work)) => {
486 self.rejected_requests = self.rejected_requests.saturating_add(1);
487 Err(HttpSubmitError::new(
488 id,
489 work.request.url,
490 HttpSubmitErrorKind::QueueClosed,
491 "http worker queue closed",
492 ))
493 }
494 }
495 }
496
497 pub fn get(&mut self, url: impl Into<String>) -> HttpID {
498 self.request(HttpRequest::get(url))
499 }
500

Callers 2

http_workerFunction · 0.85
run_http_workFunction · 0.85

Calls 3

tls_configFunction · 0.85
proxyMethod · 0.80
buildMethod · 0.80

Tested by

no test coverage detected