ktorio/ktor

ktor-locations for (multiplatform) clients.

Open

#1,304 创建于 2019年8月28日

在 GitHub 查看
 (4 评论) (7 反应) (1 负责人)Kotlin (14,408 star) (1,254 fork)batch import
featurehelp wanted

描述

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.

贡献者指南