Skip to content

mozilla-services/autopush-rs

License: MPL 2.0 Build Status docs autoconnect API autoendpoint API Connect to Matrix via the Riot webapp

Autopush-rs

Mozilla Push server built with Rust.

This is the fourth generation of the Mozilla Web Push server. It currently supports websocket connections and support for Megaphone broadcast.

Please consult the autopush documentation for information about how this server works, as well as any error messages you may see when sending push messages to our server.

MDN has information about how to use WebPush.

Note while rust-doc style comments are used prolifically through the source, only public structures are rendered automatically. For those curious about the inner workings, You may wish to read the code files directly.

Debugging on Mobile

Mobile devices can specify the Push Server URL via the "secret settings".

Do not use the mobile about:config menu settings. These are not read or used by the mobile browser.

The secret settings can be activatedby following these instructions. Once the secret menu is active, select Sync Debug from the the mobile Settings menu, and specify the Custom Push server URL.

NOTE: the default Push server url is wss://push.services.mozilla.com/