diff --git a/docs/converters/responseconverter.md b/docs/converters/responseconverter.md index a0ae46bd7..cea68f7a4 100644 --- a/docs/converters/responseconverter.md +++ b/docs/converters/responseconverter.md @@ -83,6 +83,11 @@ Ktorfit.Builder().converterFactories(FlowConverterFactory()).baseUrl("foo").buil ### Flow +Add this dependency: +```kotlin +implementation("de.jensklingenberg.ktorfit:ktorfit-converters-flow:$CONVERTER_VERSION") +``` + Ktorfit has support for Kotlin Flow. You need add the FlowConverterFactory() to your Ktorfit instance. ```kotlin @@ -98,6 +103,11 @@ Then you can drop the **suspend** modifier and wrap your return type with Flow<> ### Call +Add this dependency: +```kotlin +implementation("de.jensklingenberg.ktorfit:ktorfit-converters-call:$CONVERTER_VERSION") +``` + ```kotlin ktorfit.converterFactories(CallConverterFactory()) ```