Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.26 KB

converters.md

File metadata and controls

37 lines (25 loc) · 1.26 KB

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