-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
designAPI designAPI designlib:api-commonIssues regarding the common libraryIssues regarding the common libraryquestionFurther information is requestedFurther information is requested
Milestone
Description
We should decide on whether to use a specific network library (e.g. Ktor? OkHttp?), or to add a common interface for end consumers to implement, something like:
interface HttpClient {
suspend fun <T> request(request: NetworkRequest, block: (NetworkResponse) -> T): T
}https://github.com/coil-kt/coil/blob/main/coil-network-core/src/commonMain/kotlin/coil3/network/NetworkClient.kt for an example
Metadata
Metadata
Assignees
Labels
designAPI designAPI designlib:api-commonIssues regarding the common libraryIssues regarding the common libraryquestionFurther information is requestedFurther information is requested