Skip to main content

parse_notification_headers

Function parse_notification_headers 

Source
pub fn parse_notification_headers(
    headers: &[String],
) -> Result<Vec<(HeaderName, HeaderValue)>, String>
Expand description

The headers of the request a notification is sent with, as the configuration has them (webhook_headers): each Name: value.

An error names the header and not its value, which is a token as often as not.