mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
close the stream
This commit is contained in:
@@ -27,6 +27,7 @@ func (e *Helloworld) Stream(ctx context.Context, req *helloworld.StreamRequest,
|
||||
Message: "Hello " + req.Name,
|
||||
})
|
||||
}
|
||||
rsp.Close()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user