@zikeji/hypixel / DefaultMeta
Interface: DefaultMeta
Possible meta options returned on the meta variable.
Properties
cached?
optionalcached:boolean
If you included a cache get/set method in the options, this value will be set to true if that cache was hit.
cloudflareCache?
optionalcloudflareCache:object
Data from CloudFlare's headers in regards to caching - particularly relevant for resources endpoints.
age?
optionalage:number
Cloudflare cache age.
maxAge?
optionalmaxAge:number
Cloudflare max cache age.
status
status:
"HIT"|"MISS"|"BYPASS"|"EXPIRED"|"DYNAMIC"
Cloudflare cache status.
ratelimit?
optionalratelimit:RateLimitData
If this request required an API key it returned rate limit information in the headers, which is included here.