dio_server_clock 0.1.0
dio_server_clock: ^0.1.0 copied to clipboard
Tamper-resistant server time for Dio apps. Reads the HTTP Date header from responses you already make and anchors it to a monotonic clock.
Changelog #
All notable changes to dio_server_clock will be documented in this file.
[Unreleased] #
0.1.0 2026-Oct-31 #
Added #
ServerClock: server time anchored to a monotonic stopwatch, withnow,nowIn,isSynced,deviceSkew,uncertainty,onAnchor,invalidateandresetServerClockInterceptor: samples the HTTPDateheader from Dio responses, including error responses, withpathPrefixes,includeandisFromCachefiltersisCacheHit: detects cached responses fromAge,Cache-Status(RFC 9211),X-CacheandCF-Cache-Statusheaders- Supports Dio 4 and 5; pure Dart, no Flutter dependency