Structs§
- Body
Filter - Cassette
- Cassette
Analysis - Custom
Filter - Default
Matcher - Exact
Matcher - Filter
Chain - Form
Data Analysis - Header
Filter - Interaction
- NoOp
Client - A no-op HTTP client that always fails with an error.
- Panicking
NoOp Client - A variant of NoOpClient that panics instead of returning an error.
- Serializable
Request - Serializable
Response - Smart
Form Filter - UrlFilter
- VcrClient
- VcrClient
Builder
Enums§
Traits§
Functions§
- analyze_
cassette_ file - Analyze a cassette file for sensitive data without modifying it This helps identify what needs to be filtered
- analyze_
form_ data - Analyze form data and return a report of what was found
- extract_
username_ from_ cassette - Get the username from a cassette (useful for test setup) Returns the first username found in form data
- filter_
cassette_ file - Utility function to apply filters to a cassette file and save the filtered version This is useful for batch processing cassette files without creating a VcrClient
- filter_
form_ data - Filter sensitive form data by replacing credential values
- find_
credential_ fields - Detect potential credential fields in form data
- mutate_
all_ interactions - Apply mutation functions to both requests and responses in a cassette file
- mutate_
all_ requests - Apply a filter function to all requests in a cassette file This allows for custom mutation logic beyond the standard filter chains
- mutate_
all_ responses - Apply a filter function to all responses in a cassette file
- parse_
form_ data - Parse URL-encoded form data into key-value pairs
- remove_
header_ from_ all_ requests - Remove specific header from all requests
- replace_
form_ field_ in_ all_ requests - Replace specific field values in all form data requests
- replace_
header_ in_ all_ requests - Replace specific header value in all requests
- replace_
username_ in_ all_ requests - Helper to replace all instances of a specific username across all requests
- sanitize_
cassette_ for_ sharing - One-stop function to sanitize an entire cassette for sharing/testing
- scrub_
urls_ in_ all_ requests - Scrub URLs by removing or replacing query parameters
- set_
test_ password_ in_ cassette - Replace the password in all requests with a test password This is useful when you want to use a known test password for replay
- strip_
all_ cookies - Helper to remove all cookie headers from requests and set-cookie from responses
- strip_
all_ credentials_ from_ requests - Helper to remove all sensitive form data from requests using smart detection