MCPcopy Create free account
hub / github.com/grpc/grpc-java / writeMessage

Method writeMessage

core/src/main/java/io/grpc/internal/Stream.java:53–53  ·  view source on GitHub ↗

Writes a message payload to the remote end-point. The bytes from the stream are immediately read by the Transport. Where possible callers should use streams that are io.grpc.KnownLength to improve efficiency. This method will always return immediately and will not wait for the write to compl

(InputStream message)

Source from the content-addressed store, hash-verified

51 * @param message stream containing the serialized message to be sent
52 */
53 void writeMessage(InputStream message);
54
55 /**
56 * Flushes any internally buffered messages to the remote end-point.

Implementers 1

AbstractStreamcore/src/main/java/io/grpc/internal/Ab

Calls

no outgoing calls