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

Implement progressive calls #248

Open
om26er opened this issue Jul 20, 2017 · 3 comments
Open

Implement progressive calls #248

om26er opened this issue Jul 20, 2017 · 3 comments

Comments

@om26er
Copy link
Contributor

om26er commented Jul 20, 2017

If I have a procedure that returns a video, a photo or an mp3, a pdf or whatever. It would be cool to support java.io.File as a return type for Session.call().

For basic functionality the public API will basically be unchanged, no new overloading required. Unless we want to support some complex scenarios.

@om26er om26er changed the title Session.call to return a file object Session.call() to return a file object Jul 20, 2017
@oberstet
Copy link
Contributor

oberstet commented Aug 3, 2017

I don't get this one. How would you fill this virtual java.io.File thing? I mean, eg from a Blob returned from a WAMP remote procedure call? If so, the WAMP procedure being called really should use progressive call results and progressively return chunks of bytes. And that should be fed into the file thing without rebuffering ideally.

@oberstet
Copy link
Contributor

oberstet commented Aug 3, 2017

You might then as well go as far as asking for the same thing but uplink;) That is, upload a big file from a virtual file thing to a remote WAMP procedure in a call argument. Yeah. Thing is, that is missing at the WAMP spec level still. Runs under the name "progressive calls". To differentiate from "progressive results".

@om26er
Copy link
Contributor Author

om26er commented Sep 2, 2017

So, this should probably be renamed to "Support progressive calls".

@om26er om26er changed the title Session.call() to return a file object Implement progressive calls Sep 2, 2017
@oberstet oberstet added the WAMP label Oct 16, 2019
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