papyrus
papyrus copied to clipboard
Request streaming
trafficstars
It will be cool and convenient if Papyrus supports requests streaming
Thanks for the idea @F0x1d!
To clarify, what's the use case you are thinking of - something like uploading a large file, such as in a multipart request?
Large files can be downloaded this way. Also, for example, ChatGPT API provides "streamed" generation. It streams parts of the response as soon as they are generated by the server. Now i use urlSession.bytes to handle it, but it would be much more convenient to use Papyrus everywhere in the app