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

grpc-transcode only supports short connection, not grpc-stream, hope to add grpc-stream support #4058

Open
tx991020 opened this issue Apr 15, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@tx991020
Copy link

Issue description

Minimal test code / Steps to reproduce the issue

  1. service Say {
    // function which can be called
    rpc Send (SayRequest) returns (SayResponse);
    // we specify that we return a stream
    rpc SendStream(SayRequest) returns (stream SayResponse);
    // taking a stream as request
    rpc ReceiveStream(stream SayRequest) returns (SayResponse);
    // takes a stream and returns stream
    rpc Bidirectional(stream SayRequest) returns (stream SayResponse);
    }

grpc 有四种模式, 现在 grpc-transcode 只支持第一种短链接, 希望 grpc-transcode 支持grpc-stream, 我在网上查了下,需要把grpc-stream 转成websocket, 然后前端才能http和grpc-stream通信

@spacewander spacewander changed the title bug: grpc-transcode 只支持短链接,不支持grpc-stream, 希望增加grpc-stream支持 grpc-transcode 只支持短链接,不支持grpc-stream, 希望增加grpc-stream支持 Apr 15, 2021
@spacewander spacewander added the enhancement New feature or request label Apr 15, 2021
@moonming moonming changed the title grpc-transcode 只支持短链接,不支持grpc-stream, 希望增加grpc-stream支持 grpc-transcode only supports short connection, not grpc-stream, hope to add grpc-stream support Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants