MCPcopy
hub / github.com/grpc/grpc-go / Recv

Method Recv

stream_interfaces.go:127–127  ·  view source on GitHub ↗

Recv receives the next response message from the server. The client may repeatedly call Recv to read messages from the response stream. If io.EOF is returned, the stream has terminated with an OK status. Any other error is compatible with the status package and indicates the RPC's status code and

()

Source from the content-addressed store, hash-verified

125 // other error is compatible with the status package and indicates the
126 // RPC's status code and message.
127 Recv() (*Res, error)
128
129 // ClientStream is embedded to provide Context, Header, Trailer, and
130 // CloseSend functionality. No other methods in the ClientStream should be

Callers 15

DoHandshakeMethod · 0.65
runStreamMethod · 0.65
startServerMethod · 0.65
doServerStreamCallMethod · 0.65
RecvMethod · 0.65

Implementers 12

testRPCStreamcredentials/alts/internal/handshaker/h
testUnresponsiveRPCStreamcredentials/alts/internal/handshaker/h
searchServiceV3StreamingSearchClienttestdata/grpc_testing_not_regenerated/
searchServiceV3StreamingSearchServertestdata/grpc_testing_not_regenerated/
v1AlphaServerStreamAdapterreflection/adapt.go
v1AlphaClientStreamAdapterreflection/test/serverreflection_test.
balanceLoadClientStreambalancer/grpclb/grpclb.go
streaminternal/xds/testutils/fakeclient/clie
streaminternal/xds/clients/grpctransport/grp
streaminternal/xds/clients/internal/testutil
ServerHandleinternal/xds/clients/internal/testutil
streaminternal/xds/clients/xdsclient/test/ad

Calls

no outgoing calls