MCPcopy Create free account

hub / github.com/06chaynes/http-cache / functions

Functions612 in github.com/06chaynes/http-cache

Functionhead_request_cached_like_get
()
http-cache-tower/src/test.rs:1820
Functionhead_request_cached_like_get
()
http-cache-reqwest/src/test.rs:928
Functionhead_request_caching
()
http-cache-tower/src/test.rs:1139
Functionhead_request_caching
()
http-cache-reqwest/src/test.rs:882
Functionhead_request_caching
()
http-cache-quickcache/src/test.rs:182
Functionhead_request_caching
()
http-cache-ureq/src/test.rs:768
Methodheaders_names
Get all header names
http-cache-ureq/src/lib.rs:716
Functionhit
()
http-cache-tower/src/test.rs:1033
Functionhit
()
http-cache-reqwest/src/test.rs:835
Functionhit
()
http-cache-surf/src/test.rs:792
Functionhit_miss
()
http-cache/src/test.rs:13
Methodhit_rate
Calculate cache hit rate as a percentage (0.0 to 1.0).
http-cache-tower-server/src/lib.rs:159
Methodhttp
Create an HTTP processing error # Examples ```rust use http_cache::HttpCacheError; let err = HttpCacheError::http("Invalid header format"); ```
http-cache/src/error.rs:108
Methodhttp_cache
Create an HTTP cache streaming error # Examples ```rust use http_cache::{ClientStreamingError, StreamingError}; let streaming_err = StreamingError:
http-cache/src/error.rs:468
Methodhttp_response_to_response
Converts HttpResponse to http::Response with the given body type
http-cache/src/lib.rs:1741
Functionignore_rules_mode
()
http-cache-tower/src/test.rs:260
Functionignore_rules_mode
()
http-cache-reqwest/src/test.rs:613
Functionignore_rules_mode
()
http-cache-surf/src/test.rs:356
Functionignore_rules_mode
()
http-cache-ureq/src/test.rs:216
Methodin_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
Methodin_memory
(capacity: u64)
http-cache/src/managers/streaming_cache.rs:488
Functionindex
()
http-cache-tower-server/examples/axum_basic.rs:71
Methodinto_string
Convert the response body to a string
http-cache-ureq/src/lib.rs:726
Functioninvalidate_cache
( State(state): State<AppState>, Query(params): Query<InvalidateQuery>, )
http-cache-tower-server/examples/axum_advanced.rs:233
Methodinvalidate_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
Methodio
Create an I/O error
http-cache/src/error.rs:332
Methodis_bad_request
Returns true if this error is a bad request
http-cache/src/error.rs:167
Methodis_cache_error
Returns true if this error is related to cache operations
http-cache/src/error.rs:152
Methodis_cached
Check if this response came from cache
http-cache-ureq/src/lib.rs:721
Methodis_client_error
Returns true if this error is related to client operations
http-cache/src/error.rs:157
Methodis_end_stream
(&self)
http-cache/src/body.rs:228
Methodis_end_stream
(&self)
http-cache-tower/src/lib.rs:1034
Methodis_end_stream
(&self)
http-cache-tower-server/src/lib.rs:455
Methodis_method_get_head
(&self)
http-cache-tower/src/lib.rs:244
Methodis_method_get_head
(&self)
http-cache-reqwest/src/lib.rs:385
Methodis_method_get_head
(&self)
http-cache-ureq/src/lib.rs:808
Methodis_streaming_error
Returns true if this error is related to streaming operations
http-cache/src/error.rs:162
Functionjson_request_and_response
()
http-cache-ureq/src/test.rs:736
Functionlayer_composition
()
http-cache-tower/src/test.rs:320
Functionmain
()
http-cache-tower/examples/hyper_streaming.rs:73
Functionmain
()
http-cache-tower/examples/tower_streaming_memory_profile.rs:228
Functionmain
()
http-cache-tower/examples/hyper_basic.rs:70
Functionmain
()
compat-tests/legacy-writer/src/main.rs:11
Functionmain
()
compat-tests/read-legacy-cache/src/main.rs:9
Functionmain
()
http-cache-tower-server/examples/axum_advanced.rs:102
Functionmain
()
http-cache-tower-server/examples/axum_basic.rs:32
Functionmain
()
http-cache-reqwest/examples/reqwest_basic.rs:13
Functionmain
()
http-cache-reqwest/examples/reqwest_streaming.rs:16
Functionmain
()
http-cache-reqwest/examples/reqwest_streaming_memory_profile.rs:306
Functionmain
()
http-cache-surf/examples/surf_basic.rs:19
Functionmain
()
http-cache-ureq/examples/ureq_basic.rs:15
Methodmax_body_size
(&self)
http-cache/src/managers/streaming_cache.rs:544
Functionmax_ttl_no_override_when_shorter
()
http-cache-ureq/src/test.rs:881
Functionmax_ttl_override
()
http-cache-ureq/src/test.rs:803
Functionmax_ttl_with_ignore_rules
()
http-cache-ureq/src/test.rs:842
Functionmetrics
(State(state): State<AppState>)
http-cache-tower-server/examples/axum_advanced.rs:210
Functionmigration_from_bincode_cache
()
http-cache-reqwest/src/test.rs:2484
Functionmigration_new_entries_work_after_upgrade
()
http-cache-reqwest/src/test.rs:2556
Functionmiss
()
http-cache-tower/src/test.rs:994
Functionmiss
()
http-cache-reqwest/src/test.rs:804
Functionmiss
()
http-cache-surf/src/test.rs:763
Functionmoka
()
http-cache/src/test.rs:457
Functionmoka_corrupt_data_returns_none
()
http-cache/src/test.rs:501
Methodnew
Creates a new empty HttpHeaders in modern format
http-cache/src/lib.rs:676
Methodnew
(delay: Duration)
http-cache/src/test.rs:1308
Methodnew
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
Methodnew
Create a new streaming error from any error type
http-cache/src/error.rs:319
Methodnew
Creates a new [`CACacheManager`] with the given path.
http-cache/src/managers/cacache.rs:103
Methodnew
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
Methodnew
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
Methodnew
Create a new manager from a pre-configured Cache
http-cache/src/managers/moka.rs:108
Methodnew
(size: usize)
http-cache-tower/benches/streaming_benchmark.rs:20
Methodnew
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
Methodnew
( status: StatusCode, headers: Vec<(&'static str, &'static str)>, body: &'
http-cache-tower/src/test.rs:45
Methodnew
()
http-cache-tower/examples/hyper_streaming.rs:27
Methodnew
()
http-cache-tower/examples/tower_streaming_memory_profile.rs:29
Methodnew
()
http-cache-tower/examples/hyper_basic.rs:23
Methodnew
Create new metrics instance.
http-cache-tower-server/src/lib.rs:154
Methodnew
()
http-cache-tower-server/tests/integration.rs:27
Methodnew
Create a new streaming cache with the given manager and mode
http-cache-reqwest/src/lib.rs:347
Methodnew
(delay: Duration)
http-cache-reqwest/src/test.rs:1901
Methodnew
()
http-cache-reqwest/examples/reqwest_streaming_memory_profile.rs:32
Methodnew
(delay: Duration)
http-cache-surf/src/test.rs:1083
Methodnew
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
Methodnew
Create a new builder
http-cache-ureq/src/lib.rs:264
Methodnew
(delay: Duration)
http-cache-ureq/src/test.rs:1144
Functionno_cache
()
http-cache-tower-server/examples/axum_basic.rs:89
Functionno_cache_mode
()
http-cache-tower/src/test.rs:190
Functionno_cache_mode
()
http-cache-reqwest/src/test.rs:134
Functionno_cache_mode
()
http-cache-surf/src/test.rs:290
Functionno_cache_mode
()
http-cache-quickcache/src/test.rs:149
Functionno_cache_mode
()
http-cache-ureq/src/test.rs:170
Functionno_duplicate_headers_on_revalidation
()
http-cache-reqwest/src/test.rs:719
Functionno_duplicate_headers_on_revalidation
()
http-cache-ureq/src/test.rs:626
Functionno_status_headers
()
http-cache-reqwest/src/test.rs:331
Functionno_status_headers
()
http-cache-surf/src/test.rs:672
Functionno_status_headers
()
http-cache-ureq/src/test.rs:289
Functionno_store_mode
()
http-cache-tower/src/test.rs:153
Functionno_store_mode
()
http-cache-reqwest/src/test.rs:549
Functionno_store_mode
()
http-cache-surf/src/test.rs:259
← previousnext →301–400 of 612, ranked by callers