pushex v0.2.3 Pushex.GCM.Response View Source

Pushex.GCM.Response represents a GCM response.

When canonical_ids is greater than 0, results should be checked and the registration ids should be updated consequently. This should be done in a custom ResponseHandler.

See https://developers.google.com/cloud-messaging/http#response for more info

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Pushex.GCM.Response{
  canonical_ids: non_neg_integer(),
  failure: non_neg_integer(),
  multicast_id: integer(),
  results: [%{required(String.t()) => String.t()}],
  success: non_neg_integer()
}