Skip to content

jasonfagan/simplepush-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"),
    ));

About

Rust client for the simplepush.io API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages