Rust SDK 0.2.0-alpha4
Added
Added APIs to override caching behavior of backend responses. This replaces the previous
ttl: i32
argument tosend()
andsend_async()
, and adds the ability to overridestale-while-revalidate
. See therequest::CacheOverride
type, as well as the new methods onRequestExt
and the entirely newRequestBuilderExt
.Added hostcall error code definitions to
XqdStatus
, and updated hostcall implementations to return these error codes.Added the
fastly::log
module, which contains a basic interface for writing to Fastly log endpoints.
Prior change: Rust SDK 0.2.0-alpha3
Following change: Rust SDK 0.3.0