Function parse_into_metadata

Source
pub fn parse_into_metadata(path: &str, headers: &HeaderMap) -> Result<Metadata>
Expand description

parse_into_metadata will parse standards http headers into Metadata.

ยงNotes

parse_into_metadata only handles the standard behavior of http headers. If services have their own logic, they should update the parsed metadata on demand.