package ocsigen-start

  1. Overview
  2. Docs
type success
val message_id_of_success : success -> string
val registration_id_of_success : success -> string option
type error =
  1. | Missing_registration
  2. | Invalid_registration
  3. | Unregistered_device
  4. | Invalid_package_name
  5. | Authentication_failed
  6. | Mismatch_sender_id
  7. | Invalid_JSON
  8. | Message_too_big
  9. | Invalid_data_key
  10. | Invalid_time_to_live
  11. | Timeout
  12. | Internal_server
  13. | Device_message_rate_exceeded
  14. | Topics_message_rate_exceeded
  15. | Unknown
val string_of_error : error -> string
type t =
  1. | Success of success
  2. | Error of error
OCaml

Innovation. Community. Security.