softwaremill / sttp

The Scala HTTP client you always wanted!
https://sttp.softwaremill.com
Apache License 2.0
1.44k stars 301 forks source link

Geny integration #1822

Open szymon-rd opened 1 year ago

szymon-rd commented 1 year ago

Integration with geny could allow STTP to work with os-lib. It would be beneficial to use these two together within the toolkit.

adamw commented 1 year ago

So that you could upload a file that's defined in terms of os-lib abstractions, for example?

szymon-rd commented 1 year ago

Yes, exactly. That os-lib's path could be provided as body. We could also support streaming to/from files via geny integration and java.io.OutputStream, as I think that's the way the write streaming is handled in os-lib.