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

Method Send

stream_interfaces.go:176–178  ·  view source on GitHub ↗

Send pushes one message into the stream of requests to be consumed by the server. The type of message which can be sent is determined by the Req type parameter of the GenericClientStream receiver.

(m *Req)

Source from the content-addressed store, hash-verified

174// server. The type of message which can be sent is determined by the Req type
175// parameter of the GenericClientStream receiver.
176func (x *GenericClientStream[Req, Res]) Send(m *Req) error {
177 return x.ClientStream.SendMsg(m)
178}
179
180// Recv reads one message from the stream of responses generated by the server.
181// The type of the message returned is determined by the Res type parameter

Callers

nothing calls this directly

Calls 1

SendMsgMethod · 0.65

Tested by

no test coverage detected