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

Response server as JSON #89

Closed
jcgo810326 opened this issue Mar 20, 2023 · 2 comments
Closed

Response server as JSON #89

jcgo810326 opened this issue Mar 20, 2023 · 2 comments

Comments

@jcgo810326
Copy link

I need your clients to be able to receive a json structure, after an exception or when finishing the file upload job. It's possible??

@Acconut
Copy link
Member

Acconut commented Mar 21, 2023

Unfortunately, there is no native feature for this right now. However, you may be able to workaround this by overwriting the prepareConnection method to obtain the HttpUrlConnection object. In #59 this is described for retrieving response headers but it may also work for the response body.

@Acconut
Copy link
Member

Acconut commented Oct 20, 2023

Closing this in favor of #98

@Acconut Acconut closed this as completed Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants