send_report_ntfy

Function send_report_ntfy 

Source
pub async fn send_report_ntfy(
    topic: &str,
    pdf_bytes: Vec<u8>,
    n_records: usize,
) -> Result<(), Box<dyn Error + Send + Sync>>
Expand description

Push pdf_bytes to an ntfy topic as a PDF file attachment.

topic may be a bare topic name (sent to https://ntfy.sh/{topic}) or a full URL.