trevrpc/metadata
Request and response metadata: headers and trailers, by lower-case
name. Values are bytes; names ending in -bin hold binary values, the
others text.
Types
Values
pub fn from_list(
entries: List(#(String, String)),
) -> dict.Dict(String, BitArray)
Metadata with text values.
pub fn get(
metadata: dict.Dict(String, BitArray),
name: String,
) -> Result(String, Nil)
A text value, if name has one that is UTF-8.