Package-level declarations
Types
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
data class EndpointConfiguration(val name: String, val key: EndpointConfiguration.Key, val shouldFail: Boolean, val delay: Int? = null, val dashboardOptionsConfig: DashboardOptionsConfig, val versionCode: Int, val endpointMatcher: MockzillaHttpRequest.() -> Boolean, val defaultHandler: MockzillaHttpRequest.() -> MockzillaHttpResponse, val errorHandler: MockzillaHttpRequest.() -> MockzillaHttpResponse)
Link copied to clipboard
data class MockzillaConfig(val port: Int, val endpoints: List<EndpointConfiguration>, val isRelease: Boolean, val localhostOnly: Boolean, val logLevel: MockzillaConfig.LogLevel, val releaseModeConfig: MockzillaConfig.ReleaseModeConfig, val isNetworkDiscoveryEnabled: Boolean, val additionalLogWriters: List<MockzillaLogWriter>)
Link copied to clipboard
interface MockzillaHttpRequest
Link copied to clipboard
@Serializable
Link copied to clipboard
data class MockzillaRuntimeParams(val config: MockzillaConfig, val mockBaseUrl: String, val apiBaseUrl: String, val port: Int, val authHeaderProvider: AuthHeaderProvider, val mockzillaVersion: String)
Link copied to clipboard
Thrown when attempting to start the Mockzilla server on a port that is occupied by another process. To resolve, either terminate the process occupying the port or update your MockzillaConfig
.