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

Method with_config

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

Source from the content-addressed store, hash-verified

322}
323
324#[derive(Clone, Debug, PartialEq, Eq)]
325pub struct HttpSubmitError {
326 pub id: HttpID,
327 pub url: String,
328 pub kind: HttpSubmitErrorKind,
329 pub message: String,
330}
331
332impl HttpSubmitError {
333 fn new(id: HttpID, url: String, kind: HttpSubmitErrorKind, message: impl Into<String>) -> Self {
334 Self {
335 id,
336 url,
337 kind,
338 message: message.into(),
339 }
340 }

Callers 1

send_requestFunction · 0.80

Calls 2

http_workerFunction · 0.85
cloneMethod · 0.80

Tested by

no test coverage detected