From 36a6eb3366a7f5d50c967a8b1d571a0decdf5f92 Mon Sep 17 00:00:00 2001 From: Jens Klingenberg Date: Sun, 26 May 2024 22:22:38 +0200 Subject: [PATCH] Update documentation --- docs/converters/responseconverter.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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()) ```