PrismCore / API reference / Probing and input

Enumeration

SourcePrewarmUse

enum SourcePrewarmUse

Declared in Sources/PrismCore/Probe/SourcePrewarm.swift · PrismCore 3.5.4

What became of a prewarm when a reader opened the source, reported on ProbedSource.prewarm.

Cases

case none

Nothing was prewarmed for this URL and these headers, or the transport is not the coordinated HTTP reader (the only one that consults it).

case adopted(bytes: Int)

The origin confirmed the representation and the reader took bytes of prewarmed blocks into its cache instead of fetching them.

case stale

The origin now reports a different validator or length than when the prewarm ran. The entry was discarded and the source read fresh.

case unverified

The confirming request did not get an answer (refused, failed, redirected). The entry was left for a later reader; this one read the network.

Generated from the public symbols of PrismCore 3.5.4. All types