invoke

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

Create MockEngine instance with single request handler.