FileWebhookReplayStore class
File-based replay guard for a single host and a filesystem with file locks.
- Implemented types
Constructors
- FileWebhookReplayStore(Directory directory)
Properties
Methods
-
claim(
String eventId, DateTime expiresAt, DateTime now) → Future< bool> -
Atomically records
eventIduntilexpiresAt; false means it was seen.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
String eventId) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited