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

RPC with HTTP streams #488

Open
uplight-dev opened this issue Oct 11, 2023 · 1 comment
Open

RPC with HTTP streams #488

uplight-dev opened this issue Oct 11, 2023 · 1 comment

Comments

@uplight-dev
Copy link

uplight-dev commented Oct 11, 2023

Is there any way to use RPC with HTTP streaming? Like to transfer a file as a stream via RPC?

If yes, are there any examples how to do it?

Thanks!

@marcus-sa
Copy link
Contributor

marcus-sa commented Oct 11, 2023

Only WS is supported by Deepkit RPC at the moment.
We do however plan to add HTTP2 support in the future.

Currently, you can use the download/upload API to transfer files in chunks as Uint8Array.

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

No branches or pull requests

2 participants