MCPcopy Create free account
hub / github.com/d0iasm/saba / new

Method new

core/src/http.rs:21–23  ·  view source on GitHub ↗
(name: String, value: String)

Source from the content-addressed store, hash-verified

19
20impl Header {
21 pub fn new(name: String, value: String) -> Self {
22 Self { name, value }
23 }
24}
25
26#[derive(Debug, Clone)]

Callers

nothing calls this directly

Calls 2

to_stringMethod · 0.80
parseMethod · 0.80

Tested by

no test coverage detected