ktorio/ktor

ktor-locations for (multiplatform) clients.

Open

#1304 opened on Aug 28, 2019

View on GitHub
 (4 comments) (7 reactions) (1 assignee)Kotlin (14,408 stars) (1,254 forks)batch import
featurehelp wanted

Description

Subsystem Locations

Is your feature request related to a problem? Please describe. When writing a multiplatform frontend (i.e. Android, iOS) using ktor-client, one has to use strings for get() / update() / delete() calls to a (Ktor-based) backend. This is tedious and error-prone and replicates what had to tbe done for the backend.

Describe the solution you'd like ktor-locations is available for clients as well and can be used in multiplatform projects.

Motivation to include to ktor Clients using ktor-client would benefit from using the same type-safe API path types that can be used for backends. This would increase code re-use and allows for easier refactoring.

Contributor guide