Classes | |
class | TestService |
Functions | |
def | _maybe_echo_metadata (servicer_context) |
def | _maybe_echo_status_and_message (request, servicer_context) |
Variables | |
string | _INITIAL_METADATA_KEY = "x-grpc-test-echo-initial" |
string | _TRAILING_METADATA_KEY = "x-grpc-test-echo-trailing-bin" |
int | _US_IN_A_SECOND = 1000 * 1000 |
|
private |
Copies metadata from request to response if it is present.
Definition at line 29 of file src/python/grpcio_tests/tests/interop/service.py.
|
private |
Sets the response context code and details if the request asks for them
Definition at line 42 of file src/python/grpcio_tests/tests/interop/service.py.
|
private |
Definition at line 24 of file src/python/grpcio_tests/tests/interop/service.py.
Definition at line 25 of file src/python/grpcio_tests/tests/interop/service.py.
|
private |
Definition at line 26 of file src/python/grpcio_tests/tests/interop/service.py.