deepkit-framework icon indicating copy to clipboard operation
deepkit-framework copied to clipboard

RPC with HTTP streams

Open uplight-dev opened this issue 2 years ago • 1 comments

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!

uplight-dev avatar Oct 11 '23 09:10 uplight-dev

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.

marcus-sa avatar Oct 11 '23 19:10 marcus-sa