Hi! Can u help me? I use ContentConverter for get ...
# ktor
v
Hi! Can u help me? I use ContentConverter for get files over Graphql. Can i convert input ByteReadChannel to PartData using default tooling? Now i use CIOMultipartDataBase for it, but he have @InternalAPI annotation. How i can do right?
a
Why can't you use the ApplicationCall.receiveMultipart method? If you want to just parse bytes into
PartData
without working with a request then why do you need
ContentConverter
?
v
Because i also receive simple json object over this link (Graphql request). Can i split processing request for json type and Multipart?
I can use "Content-type" header for split request, but i also want know alternatives