Hi. Is there any good example on how to implement ...
# ktor
f
Hi. Is there any good example on how to implement a HTTP client engine (implement, not use)? The
execute
function is
@InternalAPI
, which makes it difficult to create custom implementations.
a
You can use the implementation of the CIO engine as an example. You can just opt-in for the
InternalAPI
annotation, which has been introduced here to prevent developers from calling the
execute
method directly.
f
Thanks. I did that already but was wondering if there was a different preferred way since
execute
is annotated with
@InternalAPI
.