Skip to content
New issue

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

Use sttp lib instead of akka-http-client #720

Merged
merged 11 commits into from
Oct 25, 2018
Merged

Use sttp lib instead of akka-http-client #720

merged 11 commits into from
Oct 25, 2018

Conversation

pm47
Copy link
Member

@pm47 pm47 commented Sep 23, 2018

This would reduce the difference between master/android branches (we are currently using akka-http-client on master and async-http-client on android).

Also, this would hopefully fix the got exception for batch of 1 requestsakka.http.impl.engine.client.OutgoingConnectionBlueprint$UnexpectedConnectionClosureException: The http server closed the connection unexpectedly before delivering responses for 1 outstanding requests error.

@pm47
Copy link
Member Author

pm47 commented Sep 23, 2018

Not sure why the tests are failing, we are using the correct DefaultFormats.withBigDecimal. @sstone WDYT?

@pm47
Copy link
Member Author

pm47 commented Oct 19, 2018

Actually I think that sttp might be the way to go: it has the same advantages as gigahorse (pluggable backend), and seems to have more traction.

Also replaced json4s.jackson by json4s.native and cleaned up Setup
implicits.
@pm47 pm47 changed the title [WIP] Use Gigahorse instead of akka http client Use sttp lib instead of akka-http-client Oct 23, 2018
@pm47 pm47 requested a review from sstone October 23, 2018 14:22
@sstone
Copy link
Member

sstone commented Oct 23, 2018

We need to make sure that it works on Android too (including the switch from json4s-jackson to json4s-native)

@pm47
Copy link
Member Author

pm47 commented Oct 24, 2018

@sstone I reverted back to json4s-jackson so there shouldn't be any problems

@pm47
Copy link
Member Author

pm47 commented Oct 25, 2018

We need to make sure that it works on Android too (including the switch from json4s-jackson to json4s-native)

See branch android-merge-gigahorse

@pm47 pm47 merged commit 2de7c6b into master Oct 25, 2018
@pm47 pm47 deleted the gigahorse branch October 25, 2018 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants