api

http4k / org.http4k.client / kotlin.Function1 / withAsyncApi

withAsyncApi

fun HttpHandler.withAsyncApi(): AsyncHttpClient

Convert a synchronous HttpHandler API to mimic AsyncHttpClient