Skip to main content

Module parser_cache

Module parser_cache 

Source

Structs§

CacheKey
Cache key for responses
CacheStats
CachedParser
RAII wrapper that returns parser to cache on drop
CachedResponse
Cached response entry
HttpParserCache
Thread-safe HTTP parser cache to avoid repeated allocations
ResponseCache
Simple LRU response cache
ReusableParser
Reusable HTTP parser - simplified version without lifetime issues

Functions§

global_parser_cache
Get global parser cache
global_response_cache
Get global response cache

Type Aliases§

HttpParseResult
Type alias for complex HTTP parsing result