Companion

companion object Companion : 
    HttpClientEngineFactory<MockEngineConfig>

Companion Object Functions

create

fun create(
    block: MockEngineConfig.() -> Unit
): HttpClientEngine

Creates a new HttpClientEngine optionally specifying a block configuring T.

invoke

operator fun invoke(
    handler: suspend (HttpRequestData) -> HttpResponseData
): MockEngine

Create MockEngine instance with single request handler.