Skip to content

How to send initial request to a bidirectional stream? #3726

Closed Answered by RedMarcher
RedMarcher asked this question in Q&A
Discussion options

You must be logged in to vote

I'm very sorry. It appears I did not use goa's generated code correctly. I accidentally used the protobuffer generated code directly rather than using the generated code that enwraps it.

For anyone wondering about this question later on, use the generated code under gen, not under gen/grpc. There, the method is a function of the client, and it takes in the initial payload as an argument.

Again, sorry for this question. It was caused by user error.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@raphael
Comment options

Answer selected by raphael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants