MockzillaConfig
Top-level configuration for a Mockzilla server instance. All properties are set via MockzillaConfig.Builder.
Constructors
Types
Defines the verbosity of Mockzilla's internal logging.
Rate Limiting: Uses Ktor's rate limiting, params described here: https://ktor.io/docs/rate-limit.html#configure-rate-limiting Each network call will require a token with the provided lifespan
Properties
Extra log sinks in addition to standard output.
The mock endpoints registered on this server.
When true, Mockzilla broadcasts itself via ZeroConf (Bonjour) so the management desktop can discover it. Always disabled in release mode.
When true, activates release mode: rate limiting, token authentication, and localhost-only restrictions are applied. See ReleaseModeConfig for details.
When true, the server only accepts connections from 127.0.0.1, blocking the management desktop interface and other external tools.
Verbosity of Mockzilla's internal logging.
Rate limiting and authentication config applied in release mode.