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

Function tls_config

perro_source/api_modules/perro_networking/src/http.rs:499–515  ·  view source on GitHub ↗
(mode: &HttpTLSMode)

Source from the content-addressed store, hash-verified

497 pub fn get(&mut self, url: impl Into<String>) -> HttpID {
498 self.request(HttpRequest::get(url))
499 }
500
501 pub fn post_variant(&mut self, url: impl Into<String>, body: Variant) -> HttpID {
502 self.request(HttpRequest::post_variant(url, body))
503 }
504
505 pub fn put_variant(&mut self, url: impl Into<String>, body: Variant) -> HttpID {
506 self.request(HttpRequest::new(
507 HttpMethod::Put,
508 url,
509 HttpBody::Variant(body),
510 ))
511 }
512
513 pub fn patch_variant(&mut self, url: impl Into<String>, body: Variant) -> HttpID {
514 self.request(HttpRequest::new(
515 HttpMethod::Patch,
516 url,
517 HttpBody::Variant(body),
518 ))

Callers 1

build_agentFunction · 0.85

Calls 1

buildMethod · 0.80

Tested by

no test coverage detected