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

Method sendHeaders

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

Send response header metadata prior to sending a response message. This method may only be called once and cannot be called after calls to #sendMessage or #close. Since Metadata is not thread-safe, the caller must not access (read or write) headers after this poin

(Metadata headers)

Source from the content-addressed store, hash-verified

128 * headers have already been sent
129 */
130 public abstract void sendHeaders(Metadata headers);
131
132 /**
133 * Send a response message. Messages are the primary form of communication associated with

Callers 2

Calls

no outgoing calls

Tested by 2