Skip to main content

parse_in_reply_to_from_collected

Function parse_in_reply_to_from_collected 

Source
pub fn parse_in_reply_to_from_collected(
    attrs: &[(Vec<u8>, String)],
    max_attr_len: usize,
) -> Option<InReplyTo>
Expand description

Parse thr:in-reply-to from collected attributes (RSS 2.0 parser path)

Returns None only if ALL fields are None after normalization.

ยงArguments

  • attrs - Slice of collected (key_bytes, value_string) attribute pairs
  • max_attr_len - Maximum attribute value length for DoS protection