API Reference ReqCassette v#0.6.1
View SourceModules
A VCR-style record-and-replay library for Elixir's Req HTTP client.
Detects and handles different body types for optimal cassette storage.
Handles cassette file format v1.0 with multiple interactions per file.
Filters sensitive data from cassette interactions before saving.
A Plug that intercepts Req HTTP requests and records/replays them from cassette files.
Tracks interaction indices for sequential cassette matching.
Formats debugging information for template matching failures and provides optional logging during template extraction and matching.
Handles escaping and unescaping of template markers to prevent collisions with literal braces.
Extracts template variables from requests and responses using regex patterns.
Matches templated requests by comparing their structure (template markers), not values.
Normalizes request and response data for predictable template variable extraction.
Built-in pattern presets for common API providers.
Creates and applies template markers by replacing values with {{var.N}} placeholders.
Mix Tasks
Inspects ReqCassette cassette files and displays template information.