ccproxy.plugins.command_replay.hook¶
ccproxy.plugins.command_replay.hook
¶
Hook implementation for command replay generation.
CommandReplayHook
¶
Bases: Hook
Hook for generating curl and xh command replays of provider requests.
Listens for PROVIDER_REQUEST_PREPARED events and generates command line equivalents that can be used to replay the exact same HTTP requests.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
CommandReplayConfig | None
|
Command replay configuration |
None
|
file_formatter
|
CommandFileFormatter | None
|
File formatter for writing commands to files |
None
|