Struct apns2::ApnsSync [] [src]

pub struct ApnsSync { /* fields omitted */ }

Methods

impl ApnsSync
[src]

[src]

[src]

[src]

Enable/disable verbose debug logging to stderr.

[src]

Set API endpoint to use (production or development sandbox).

[src]

ATTENTION: This completely disables actual communication with the APNS api.

No connection will be established.

Useful for integration tests in a larger application when nothing should actually be sent.

[src]

Send a notification. Returns the UUID (either the configured one, or the one returned by the api).