
Public Member Functions | |
| def | __init__ (self, servicer_context) |
| def | disable_next_response_compression (self) |
| def | peer (self) |
Private Attributes | |
| _servicer_context | |
Definition at line 35 of file _server_adaptations.py.
| def grpc.beta._server_adaptations._ServerProtocolContext.__init__ | ( | self, | |
| servicer_context | |||
| ) |
Definition at line 37 of file _server_adaptations.py.
| def grpc.beta._server_adaptations._ServerProtocolContext.disable_next_response_compression | ( | self | ) |
Disables compression of the next response passed by the application.
Reimplemented from grpc.beta.interfaces.GRPCServicerContext.
Definition at line 43 of file _server_adaptations.py.
| def grpc.beta._server_adaptations._ServerProtocolContext.peer | ( | self | ) |
Identifies the peer that invoked the RPC being serviced.
Returns:
A string identifying the peer that invoked the RPC being serviced.
Reimplemented from grpc.beta.interfaces.GRPCServicerContext.
Definition at line 40 of file _server_adaptations.py.
|
private |
Definition at line 38 of file _server_adaptations.py.