use rqpush::Notification;
fn main() {
let mut notification = Notification::init("Example", "An example", "This is an example notification.");
notification.set_category("example");
notification.set_url("http://example.com/");
match notification.send("http://localhost:8000", 55, 0, None) {
Ok(r) => println!("Success: {:?}", r),
Err(e) => println!("Failure: {:?}", e),
}
}