pub fn is_deliverable(stored: &StoredPushSubscription, now_secs: i64) -> boolExpand description
Whether a push may be sent to stored at now_secs seconds since the
Unix epoch: the subscription is verified and has not expired.
RFC 8620 §7.2 (rfc8620.txt:3578-3581): “The JMAP server MUST NOT make any further requests to the URL until the client receives the push and updates the subscription with the correct verification code.”
RFC 8620 §7.2 (rfc8620.txt:3656-3658): “If specified, the JMAP server
MUST NOT make further requests to this resource after this time.” A push
at exactly expires is allowed. An expires that is not a valid
UTCDate counts as expired.
This does not cover the PushVerification itself, which is sent before
the subscription is verified.