We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why sttp doesnt support scala.js? Sttp have scala.js support https://sttp.softwaremill.com/en/latest/backends/javascript/fetch.html but in endpoints sttp only jvm configured :(
The text was updated successfully, but these errors were encountered:
Hello, I don’t know if there is a reason for this. Maybe at the time that client was added it didn’t support Scala.js?
in the meantime, you can use the endpoints-xhr-client that supports Scala.js.
endpoints-xhr-client
Sorry, something went wrong.
Yes, endpoints-xhr-client it is good for me, but sttp support streaming via FetchMonixBackend and this is very useful in conjunction with endpoints
Interesting. I don’t know how hard it would be to support Scala.js in the sttp interpreter. If it supports streaming this could solve #287. Otherwise, it should probably be possible to add support for streaming to the endpoints-xhr-client interpreter (there used to be a prototype here, for the record: https://github.com/julienrf/endpoints/blob/streaming-support/xhr/client/src/main/scala/endpoints/xhr/Http1Streaming.scala)
Would you be interested in trying one of these solutions?
No branches or pull requests
Why sttp doesnt support scala.js? Sttp have scala.js support https://sttp.softwaremill.com/en/latest/backends/javascript/fetch.html but in endpoints sttp only jvm configured :(
The text was updated successfully, but these errors were encountered: