Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jamowei/mpp-client
- Owner: jamowei
- License: mit
- Created: 2022-10-18T15:30:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-21T07:48:25.000Z (about 2 years ago)
- Last Synced: 2024-10-05T10:21:52.259Z (about 2 months ago)
- Topics: http-client, kotlin, kotlin-multiplatform, ktor
- Language: Kotlin
- Homepage:
- Size: 143 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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