Function cashweb::payments::preprocess_payment[][src]

pub async fn preprocess_payment<B>(
    headers: HeaderMap<HeaderValue>,
    body: B
) -> Result<Payment, PreprocessingError> where
    B: Buf

Validates and parses the BIP70 payment.