diswh-esp

Crates.iodiswh-esp
lib.rsdiswh-esp
version1.0.1
created_at2025-01-27 14:48:37.441582+00
updated_at2025-01-30 15:02:15.150259+00
descriptionA simple way to send webhook messages on the ESP platform, or edit for discord. Fully featured with builders to make things easy!
homepage
repositoryhttps://github.com/NekoTheCatgirl/diswh-esp
max_upload_size
id1532491
size73,185
Neko The Catgirl (NekoTheCatgirl)

documentation

README

Diswh

A webhook api designed for use with the ESP platform. Relies on the esp-idf-svc library to handle networking.

Unlike the standard diswh, this version does not provide a async api. However given the ESP platform is underpowered, i believe its a compromize we can live with.

REQUIRES std WILL NOT RUN ON no_std

How to use:

use diswh::{MessageBuilder, WebhookBuilder};

WebhookBuilder::new("url")
    .send_message(
        MessageBuilder::new("Hello webhook!", false).build()
    )?;
Commit count: 6

cargo fmt