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

No api for server side to close a bidirectional stream #444

Closed
dangfan opened this issue Nov 14, 2015 · 1 comment
Closed

No api for server side to close a bidirectional stream #444

dangfan opened this issue Nov 14, 2015 · 1 comment

Comments

@dangfan
Copy link

dangfan commented Nov 14, 2015

In stream.go, ClientStream has a method CloseSend but ServerStream does not. Is there any special reason to make it like this?

@iamqizhao
Copy link
Contributor

Simply returning from the service handler impl closes the stream.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants