class ServerContext
Defined at line 578 of file ../../third_party/grpc-migrating/src/include/grpcpp/server_context.h
A ServerContext or CallbackServerContext allows the code implementing a
service handler to:
- Add custom initial and trailing metadata key-value pairs that will
propagated to the client side.
- Control call settings such as compression and authentication.
- Access metadata coming from the client.
- Get performance metrics (ie, census).
Context settings are only relevant to the call handler they are supplied to,
that is to say, they aren't sticky across multiple calls. Some of these
settings, such as the compression options, can be made persistent at server
construction time by specifying the appropriate
to a
via
Public Methods
void ServerContext ()
Defined at line 580 of file ../../third_party/grpc-migrating/src/include/grpcpp/server_context.h
Friends
class Server