Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about ktor-client

Read more about ktor-client

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - ktor-client

How to observe Ktor download progress by a Flow

I want to observe the download progress by a Flow, so I wrote a function like this: suspend fun downloadFile(file: File, url: String): Flow<Int>{ val client = HttpClient(Android) ...
test-img

TangSir

kotlin

kotlin-coroutines

ktor

ktor-client

Votes: 0

Answers: 1

Latest Answer

Use callbackFlow instead of flow. A regular flow can't launch background code, and can only emit values from code inside the flow itself. Meanwhile, a callback flow can launch other work in the backgr...
test-img

Sam

Does Ktor Provide any Inbuilt Database

I'm very much new to Ktor. I'm totally confused that does Ktor provides any inbuilt database and any interface where we can actually see our data in tabular form (Like in MySQL) or like as in Firebase...
test-img

Adi

android

database

kotlin

ktor

ktor-client

Votes: 0

Answers: 1

Latest Answer

Ktor is only a web client -- it doesn't store data in the way you're thinking. For Kotlin on Android, as long as your data is relatively small and simple, regular lists/maps should suffice. More compl...
test-img

Gabriel Pizarro

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved