simplepush-rs

Crates.iosimplepush-rs
lib.rssimplepush-rs
version0.1.2
sourcesrc
created_at2024-08-04 09:59:00.42538
updated_at2024-08-04 10:26:41.317448
descriptionClient for the simplepush.io API
homepagehttps://github.com/jasonfagan/simplepush-rs
repositoryhttps://github.com/jasonfagan/simplepush-rs.git
max_upload_size
id1324863
size15,261
Jason Fagan (jasonfagan)

documentation

https://docs.rs/simplepush

README

SimplePush: A Rust client for simplepush.io

Build crates.io Documentation Crates.io

A Rust client for the SimplePush API

Adding the client to your project

cargo add simplepush-rs

Sending a simple notification

   let result = SimplePush::send(Message::new(
        "SIMPLE_PUSH_KEY",
        Some("title"),
        "test message",
        None,
        None,
    ));

Sending a simple notification with encryption

   let result = SimplePush::send(Message::new(
        "SIMPLE_PUSH_KEY",
        Some("title"),
        "test message",
        None,
        None,
        "ENCRYPTION_KEY",
        Some("SALT"),
    ));
Commit count: 0

cargo fmt