Http

This helper class provides functionality to streamline networking operations.

It includes methods for setting up connections, handling errors, and performing HTTP requests.

With this class, you can simplify the process of making API calls and improve the reliability of your networking code


ktorConfigJson

Http.ktorConfigJson

Use this configuration to convert Serializable classes from/into json while ignoring Unknown Keys.


User Agent

The UserAgent helper ensures that all your network requests have a user agent, including those made from mobile devices.

val platform = AndroidPlatform()
Http.getUserAgent(
    platform = platform,
    clientSDKName = BuildKonfig.SDK_NAME,
    clientSDKVersion = BuildKonfig.SDK_VERSION,
    appName = "",  // get from the consumer app
    appVersion = "" // get from the consumer app
)

to setup BuildKonfig check this