pub(crate) fn decode_envelope<T: DeserializeOwned>(
method: &str,
body: &str,
) -> Result<T, SlackError>Expand description
Split out of call so the envelope rules are testable without HTTP.
pub(crate) fn decode_envelope<T: DeserializeOwned>(
method: &str,
body: &str,
) -> Result<T, SlackError>Split out of call so the envelope rules are testable without HTTP.