Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jamowei/mpp-client

Multiplatform HTTP-Client implementation using Ktor
https://github.com/jamowei/mpp-client

http-client kotlin kotlin-multiplatform ktor

Last synced: about 1 month ago
JSON representation

Multiplatform HTTP-Client implementation using Ktor

Awesome Lists containing this project

README

        

# Kotlin Multiplatform HTTP-Client using Ktor
[![build](https://github.com/jamowei/mpp-client/actions/workflows/build.yml/badge.svg)](https://github.com/jamowei/mpp-client/actions/workflows/build.yml)

Simple demonstration of a [Ktor](https://ktor.io/)-based multiplatform HTTP-client in Kotlin

## Overview

- `base` submodule: common classes and interface (externalized in a library)
- `client` submodule: multiplatform HTTP-client implementation for jvm & js
- `server` submodule: Ktor-server providing an HTTP-API for testing the clients

## How to run

1. start the test-cases for jvm and js platform with: `./gradlew check`
2. all tests should be succeeded
3. play around with it