| Crates.io | diswh-esp |
| lib.rs | diswh-esp |
| version | 1.0.1 |
| created_at | 2025-01-27 14:48:37.441582+00 |
| updated_at | 2025-01-30 15:02:15.150259+00 |
| description | A simple way to send webhook messages on the ESP platform, or edit for discord. Fully featured with builders to make things easy! |
| homepage | |
| repository | https://github.com/NekoTheCatgirl/diswh-esp |
| max_upload_size | |
| id | 1532491 |
| size | 73,185 |
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
use diswh::{MessageBuilder, WebhookBuilder};
WebhookBuilder::new("url")
.send_message(
MessageBuilder::new("Hello webhook!", false).build()
)?;