Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/06chaynes/http-cache
/ functions
Functions
612 in github.com/06chaynes/http-cache
⨍
Functions
612
◇
Types & classes
100
Function
head_request_cached_like_get
()
http-cache-tower/src/test.rs:1820
Function
head_request_cached_like_get
()
http-cache-reqwest/src/test.rs:928
Function
head_request_caching
()
http-cache-tower/src/test.rs:1139
Function
head_request_caching
()
http-cache-reqwest/src/test.rs:882
Function
head_request_caching
()
http-cache-quickcache/src/test.rs:182
Function
head_request_caching
()
http-cache-ureq/src/test.rs:768
Method
headers_names
Get all header names
http-cache-ureq/src/lib.rs:716
Function
hit
()
http-cache-tower/src/test.rs:1033
Function
hit
()
http-cache-reqwest/src/test.rs:835
Function
hit
()
http-cache-surf/src/test.rs:792
Function
hit_miss
()
http-cache/src/test.rs:13
Method
hit_rate
Calculate cache hit rate as a percentage (0.0 to 1.0).
http-cache-tower-server/src/lib.rs:159
Method
http
Create an HTTP processing error # Examples ```rust use http_cache::HttpCacheError; let err = HttpCacheError::http("Invalid header format"); ```
http-cache/src/error.rs:108
Method
http_cache
Create an HTTP cache streaming error # Examples ```rust use http_cache::{ClientStreamingError, StreamingError}; let streaming_err = StreamingError:
http-cache/src/error.rs:468
Method
http_response_to_response
Converts HttpResponse to http::Response with the given body type
http-cache/src/lib.rs:1741
Function
ignore_rules_mode
()
http-cache-tower/src/test.rs:260
Function
ignore_rules_mode
()
http-cache-reqwest/src/test.rs:613
Function
ignore_rules_mode
()
http-cache-surf/src/test.rs:356
Function
ignore_rules_mode
()
http-cache-ureq/src/test.rs:216
Method
in_memory
Creates a new in-memory only [`FoyerManager`] with the specified capacity. This is a convenience method for creating a simple memory-only cache. For
http-cache/src/managers/foyer.rs:76
Method
in_memory
(capacity: u64)
http-cache/src/managers/streaming_cache.rs:488
Function
index
()
http-cache-tower-server/examples/axum_basic.rs:71
Method
into_string
Convert the response body to a string
http-cache-ureq/src/lib.rs:726
Function
invalidate_cache
( State(state): State<AppState>, Query(params): Query<InvalidateQuery>, )
http-cache-tower-server/examples/axum_advanced.rs:233
Method
invalidate_request
Invalidate cache entry for a specific request. Uses the configured keyer to generate the cache key from the request.
http-cache-tower-server/src/lib.rs:540
Method
io
Create an I/O error
http-cache/src/error.rs:332
Method
is_bad_request
Returns true if this error is a bad request
http-cache/src/error.rs:167
Method
is_cache_error
Returns true if this error is related to cache operations
http-cache/src/error.rs:152
Method
is_cached
Check if this response came from cache
http-cache-ureq/src/lib.rs:721
Method
is_client_error
Returns true if this error is related to client operations
http-cache/src/error.rs:157
Method
is_end_stream
(&self)
http-cache/src/body.rs:228
Method
is_end_stream
(&self)
http-cache-tower/src/lib.rs:1034
Method
is_end_stream
(&self)
http-cache-tower-server/src/lib.rs:455
Method
is_method_get_head
(&self)
http-cache-tower/src/lib.rs:244
Method
is_method_get_head
(&self)
http-cache-reqwest/src/lib.rs:385
Method
is_method_get_head
(&self)
http-cache-ureq/src/lib.rs:808
Method
is_streaming_error
Returns true if this error is related to streaming operations
http-cache/src/error.rs:162
Function
json_request_and_response
()
http-cache-ureq/src/test.rs:736
Function
layer_composition
()
http-cache-tower/src/test.rs:320
Function
main
()
http-cache-tower/examples/hyper_streaming.rs:73
Function
main
()
http-cache-tower/examples/tower_streaming_memory_profile.rs:228
Function
main
()
http-cache-tower/examples/hyper_basic.rs:70
Function
main
()
compat-tests/legacy-writer/src/main.rs:11
Function
main
()
compat-tests/read-legacy-cache/src/main.rs:9
Function
main
()
http-cache-tower-server/examples/axum_advanced.rs:102
Function
main
()
http-cache-tower-server/examples/axum_basic.rs:32
Function
main
()
http-cache-reqwest/examples/reqwest_basic.rs:13
Function
main
()
http-cache-reqwest/examples/reqwest_streaming.rs:16
Function
main
()
http-cache-reqwest/examples/reqwest_streaming_memory_profile.rs:306
Function
main
()
http-cache-surf/examples/surf_basic.rs:19
Function
main
()
http-cache-ureq/examples/ureq_basic.rs:15
Method
max_body_size
(&self)
http-cache/src/managers/streaming_cache.rs:544
Function
max_ttl_no_override_when_shorter
()
http-cache-ureq/src/test.rs:881
Function
max_ttl_override
()
http-cache-ureq/src/test.rs:803
Function
max_ttl_with_ignore_rules
()
http-cache-ureq/src/test.rs:842
Function
metrics
(State(state): State<AppState>)
http-cache-tower-server/examples/axum_advanced.rs:210
Function
migration_from_bincode_cache
()
http-cache-reqwest/src/test.rs:2484
Function
migration_new_entries_work_after_upgrade
()
http-cache-reqwest/src/test.rs:2556
Function
miss
()
http-cache-tower/src/test.rs:994
Function
miss
()
http-cache-reqwest/src/test.rs:804
Function
miss
()
http-cache-surf/src/test.rs:763
Function
moka
()
http-cache/src/test.rs:457
Function
moka_corrupt_data_returns_none
()
http-cache/src/test.rs:501
Method
new
Creates a new empty HttpHeaders in modern format
http-cache/src/lib.rs:676
Method
new
(delay: Duration)
http-cache/src/test.rs:1308
Method
new
Create a new domain-based rate limiter with the given quota # Example ```rust,ignore use http_cache::rate_limiting::{DomainRateLimiter, Quota}; use s
http-cache/src/rate_limiting.rs:54
Method
new
Create a new streaming error from any error type
http-cache/src/error.rs:319
Method
new
Creates a new [`CACacheManager`] with the given path.
http-cache/src/managers/cacache.rs:103
Method
new
Creates a new [`FoyerManager`] from a pre-configured [`HybridCache`]. Use [`HybridCacheBuilder`] to configure memory size, disk storage, eviction str
http-cache/src/managers/foyer.rs:63
Method
new
Creates a new [`StreamingManager`] with disk-backed storage. Uses the default maximum body size of 100MB. For custom limits, use [`StreamingManager::
http-cache/src/managers/streaming_cache.rs:254
Method
new
Create a new manager from a pre-configured Cache
http-cache/src/managers/moka.rs:108
Method
new
(size: usize)
http-cache-tower/benches/streaming_benchmark.rs:20
Method
new
Create a new HTTP cache layer with default configuration. Uses [`CacheMode::Default`] and default [`HttpCacheOptions`]. # Arguments `cache_manager`
http-cache-tower/src/lib.rs:434
Method
new
( status: StatusCode, headers: Vec<(&'static str, &'static str)>, body: &'
http-cache-tower/src/test.rs:45
Method
new
()
http-cache-tower/examples/hyper_streaming.rs:27
Method
new
()
http-cache-tower/examples/tower_streaming_memory_profile.rs:29
Method
new
()
http-cache-tower/examples/hyper_basic.rs:23
Method
new
Create new metrics instance.
http-cache-tower-server/src/lib.rs:154
Method
new
()
http-cache-tower-server/tests/integration.rs:27
Method
new
Create a new streaming cache with the given manager and mode
http-cache-reqwest/src/lib.rs:347
Method
new
(delay: Duration)
http-cache-reqwest/src/test.rs:1901
Method
new
()
http-cache-reqwest/examples/reqwest_streaming_memory_profile.rs:32
Method
new
(delay: Duration)
http-cache-surf/src/test.rs:1083
Method
new
Creates a new QuickManager from a pre-configured QuickCache. This allows you to customize the cache configuration, such as setting the maximum number
http-cache-quickcache/src/lib.rs:202
Method
new
Create a new builder
http-cache-ureq/src/lib.rs:264
Method
new
(delay: Duration)
http-cache-ureq/src/test.rs:1144
Function
no_cache
()
http-cache-tower-server/examples/axum_basic.rs:89
Function
no_cache_mode
()
http-cache-tower/src/test.rs:190
Function
no_cache_mode
()
http-cache-reqwest/src/test.rs:134
Function
no_cache_mode
()
http-cache-surf/src/test.rs:290
Function
no_cache_mode
()
http-cache-quickcache/src/test.rs:149
Function
no_cache_mode
()
http-cache-ureq/src/test.rs:170
Function
no_duplicate_headers_on_revalidation
()
http-cache-reqwest/src/test.rs:719
Function
no_duplicate_headers_on_revalidation
()
http-cache-ureq/src/test.rs:626
Function
no_status_headers
()
http-cache-reqwest/src/test.rs:331
Function
no_status_headers
()
http-cache-surf/src/test.rs:672
Function
no_status_headers
()
http-cache-ureq/src/test.rs:289
Function
no_store_mode
()
http-cache-tower/src/test.rs:153
Function
no_store_mode
()
http-cache-reqwest/src/test.rs:549
Function
no_store_mode
()
http-cache-surf/src/test.rs:259
← previous
next →
301–400 of 612, ranked by callers