Package org.microproxy.extras
Class ClientReplay.Builder
java.lang.Object
org.microproxy.extras.ClientReplay.Builder
- Enclosing class:
ClientReplay
Configures a
ClientReplay.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates the replayer.concurrency(int requests) How many requests may be in flight at once (default 1, as mitmproxy'sclient_replay_concurrency).How long to wait to connect to the proxy, and for each read (default 60 seconds).
-
Method Details
-
concurrency
How many requests may be in flight at once (default 1, as mitmproxy'sclient_replay_concurrency).- Parameters:
requests- the limit, at least 1- Returns:
- this builder
-
timeout
How long to wait to connect to the proxy, and for each read (default 60 seconds).- Parameters:
timeout- the timeout- Returns:
- this builder
-
build
Creates the replayer.- Returns:
- the configured replayer
-