Skip to main content

Crate phantom_frame

Crate phantom_frame 

Source

Modules§

cache
compression
config
control
path_matcher
proxy

Structs§

CreateProxyConfig
Configuration for creating a proxy
RequestInfo
Information about an incoming request for cache key generation
WebhookConfig
Configuration for a single webhook attached to a server.

Enums§

CacheStorageMode
Controls where cached response bodies are stored.
CacheStrategy
Controls which backend responses are eligible for caching.
CompressStrategy
Controls how cacheable responses are stored in memory.
ProxyMode
Controls the operating mode of the proxy.
WebhookType
The type of a webhook — controls whether the webhook gates access or just receives a notification.

Functions§

create_proxy
The main library interface for using phantom-frame as a library Returns a proxy handler function and a cache handle
create_proxy_with_handle
Create a proxy handler with an existing cache handle. Useful for sharing a single handle across multiple proxy instances so that invalidation propagates to all caches simultaneously.