Trait fastly::experimental::RequestHandleCacheKey[][src]

pub trait RequestHandleCacheKey {
    fn set_cache_key(&mut self, key: &[u8; 32]);
}
Expand description

An extension trait for RequestHandles that adds methods for controlling cache keys.

Stability

This is part of an experimental API that is subject to change or removal even in minor versions of this crate.

Required methods

See RequestHandle::set_cache_key().

Stability

This is part of an experimental API that is subject to change or removal even in minor versions of this crate.

Implementors

Set the cache key to be used when attempting to satisfy this request from a cached response.

Stability

This is part of an experimental API that is subject to change or removal even in minor versions of this crate.