MockEngineConfig
class MockEngineConfig : HttpClientEngineConfig
HttpClientEngineConfig for MockEngine.
Constructors
MockEngineConfig() |
Properties
val requestHandlers: MutableList<MockRequestHandler> Request handlers. Responses are given back in order they were added to requestHandlers. |
|
var reuseHandlers: Boolean Should engine reuse handlers. |
Inherited Properties
var pipelining: Boolean Enable http pipelining advice. |
|
var proxy: ProxyConfig? Proxy address to use. Use system proxy by default. |
|
val |
|
var threadsCount: Int Network threads count advice. |
Functions
fun addHandler(handler: MockRequestHandler): Unit Add request handler to MockEngine |