Scoop API

scoop:scoop.http.client:0.1.0

HttpCacheStatus

enum HttpCacheStatus

source · line 37
public
public enum HttpCacheStatus

Where the response came from in the cache workflow.

variant Revalidated

source · line 49
public
Revalidated

A cached representation was validated with the origin.

variant Network

source · line 41
public
Network

The response was obtained from the network.

variant Unsatisfied

source · line 53
public
Unsatisfied

Only-if-cached could not provide a usable representation.

variant Hit

source · line 45
public
Hit

A cached representation satisfied the request.

function equals

source · line 37
publiccompiler-derived
operator fun equals(other: HttpCacheStatus): Boolean

This derived operation is available when each field or payload type supports same-type equality.