@ file : Suppress (" UN CHECK ED _ CAST ") Ċ Ċ package Ġmoney . terra . client Ċ Ċ import Ġio . ktor . client . engine .* Ċ import Ġio . ktor . client . engine . okhttp .* Ċ import Ġio . ktor . client . features . json .* Ċ import Ġmoney . terra . util . json Mapper Ċ Ċ internal Ġactual Ġval ĠENGINE _ FACTORY : ĠEngine Factory < HttpClient Engine Config > Ġ= ĠEngine Factory ( Ok Http ) Ġ{ ĊĠĠĠ Ġconfig Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . retry On Connection Failure ( true ) ĊĠĠĠ Ġ} Ċ } Ġas ĠEngine Factory < HttpClient Engine Config > Ċ Ċ internal Ġactual Ġval Ġjson Serializer : ĠJsonSerializer Ġ= ĠJack son Serializer ( json Mapper )