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

Method request

api/src/main/java/io/grpc/ServerCall.java:117–117  ·  view source on GitHub ↗

Requests up to the given number of messages from the call to be delivered to Listener#onMessage(Object). Once numMessages have been delivered no further request messages will be delivered until more messages are requested by calling this method again. Servers use this mechanism t

(int numMessages)

Source from the content-addressed store, hash-verified

115 * @param numMessages the requested number of messages to be delivered to the listener.
116 */
117 public abstract void request(int numMessages);
118
119 /**
120 * Send response header metadata prior to sending a response message. This method may

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected