thejinchao / turbolink

TurboLink is an unreal engine plugin enables Google gRPC work with Unreal Engine using C++ and Blueprint
MIT License
162 stars 50 forks source link

Client side streaming #49

Open mhchu-multiverse opened 2 months ago

mhchu-multiverse commented 2 months ago

Hi! Amazing job with this plugin!

We were using the library my making simple RPC calls and with server streaming without a problem, but the gRPC service we are using has moved to a bidirectional streaming RPC.

It sounds like TurboLink supports both client and server streaming, so we should be okay, but we're having trouble figuring out how to get the client streaming working. After we initialize the function and send a request, sending a second request to the same function doesn't seem to work.

Can you describe the general flow of how client streaming works with Blueprints?

Thanks in advance!

wclssdn commented 2 months ago

You could see the full demo, in blueprints test tab, the Watch method shows this case.

The key point is 'You must reuse the context'