public static class MockEngine.Companion
| Modifier and Type | Method and Description |
|---|---|
io.ktor.client.engine.HttpClientEngine |
create(kotlin.jvm.functions.Function1<? super io.ktor.client.engine.mock.MockEngineConfig,kotlin.Unit> block) |
MockEngine |
invoke(kotlin.jvm.functions.Function2<? super io.ktor.client.engine.mock.MockHttpRequest,? super kotlin.coroutines.experimental.Continuation<? super io.ktor.client.engine.mock.MockHttpResponse>,? extends java.lang.Object> check) |
public io.ktor.client.engine.HttpClientEngine create(kotlin.jvm.functions.Function1<? super io.ktor.client.engine.mock.MockEngineConfig,kotlin.Unit> block)
public MockEngine invoke(kotlin.jvm.functions.Function2<? super io.ktor.client.engine.mock.MockHttpRequest,? super kotlin.coroutines.experimental.Continuation<? super io.ktor.client.engine.mock.MockHttpResponse>,? extends java.lang.Object> check)