i ended up using ktor-client recently since i was ...
# kotlin-fuel
n
i ended up using ktor-client recently since i was doing multiplatform stuff just wish the thing had a nicer API like fuel, also websockets are slightly confusing
m
I only need one network request in a server that otherwise is full ktor, so I wanted to use ktor-client just to keep it 100% ktor. Had to move to Fuel just for the one request because ktor-client doesn't let you specify the POST request body encoding...
n
what kind of specific encoding do you need the body to be ?
in ktor this should work
Copy code
body = object: ByteArrayContent {
    override val contentLength = TODO()
    override fun bytes() = TODO()
}
and then set whatever header for the encoding
m
This is the issue I raised.