Converters
Converters are used to convert the HTTPResponse or parameters.
They are added inside of a Converter.Factory which will then be added to the Ktorfit builder with the converterfactories() function.
Converter Types¶
Existing converter factories¶
- CallConverterFactory
Add this dependency:
implementation("de.jensklingenberg.ktorfit:ktorfit-converters-call:$CONVERTER_VERSION")
You can find all available versions here
- FlowConverterFactory
Add this dependency:
implementation("de.jensklingenberg.ktorfit:ktorfit-converters-flow:$CONVERTER_VERSION")
You can find all available versions here
- ResponseConverterFactory
Add this dependency:
implementation("de.jensklingenberg.ktorfit:ktorfit-converters-response:$CONVERTER_VERSION")
You can find all available versions here
Last update: May 26, 2024