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

Customized HttpResponse Per Platforms #863

Merged
merged 7 commits into from
May 5, 2023
Merged

Conversation

iNoles
Copy link
Collaborator

@iNoles iNoles commented Apr 27, 2023

I am putting HttpResponse into expect/actual class because I knew an interface will be extremely messy for this. It will be very easier to customize it on each platform. I knew the string will be extremely inefficient for large files, so I wanted to give developers better control to handle data how they wanted.

Breaking Change: body in HttpResponse for JVM is ResponseBody.

@iNoles iNoles requested a review from kittinunf April 27, 2023 23:59
@kittinunf
Copy link
Owner

Looks okay to me! Wondering whether we should still have a common field for something that share across the whole different platforms? e.g. statusCode, possibly more in the future.

@iNoles
Copy link
Collaborator Author

iNoles commented May 5, 2023

Looks okay to me! Wondering whether we should still have a common field for something that share across the whole different platforms? e.g. statusCode, possibly more in the future.

I don't think that is possible for now.

@iNoles iNoles merged commit d9f8251 into main May 5, 2023
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the adding_property_httpresponse branch May 5, 2023 14:26
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