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

Method Send

internal/xds/clients/grpctransport/grpc_transport.go:200–202  ·  view source on GitHub ↗

Send sends a message to the server.

(msg []byte)

Source from the content-addressed store, hash-verified

198
199// Send sends a message to the server.
200func (s *stream) Send(msg []byte) error {
201 return s.stream.SendMsg(msg)
202}
203
204// Recv receives a message from the server.
205func (s *stream) Recv() ([]byte, error) {

Callers

nothing calls this directly

Calls 1

SendMsgMethod · 0.65

Tested by

no test coverage detected