ktorio/ktor

ktor-locations for (multiplatform) clients.

開放

#1,304 建立於 2019年8月28日

 (4 則留言) (7 個反應) (1 位負責人)Kotlin (1,254 個分叉)batch import
featurehelp wanted

倉庫指標

星標
 (14,408 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南