Classes | |
class | _CacheInterceptor |
class | _GenericInterceptor |
class | _LoggingInterceptor |
class | TestServerInterceptor |
Functions | |
Tuple[aio.Server, test_pb2_grpc.TestServiceStub] | _create_server_stub_pair (*aio.ServerInterceptor interceptors) |
aio.ServerInterceptor | _filter_server_interceptor (Callable condition, aio.ServerInterceptor interceptor) |
Variables | |
int | _NUM_STREAM_RESPONSES = 5 |
int | _REQUEST_PAYLOAD_SIZE = 7 |
int | _RESPONSE_PAYLOAD_SIZE = 42 |
level | |
verbosity | |
|
private |
Creates a server-stub pair with given interceptors. Returning the server object to protect it from being garbage collected.
Definition at line 124 of file server_interceptor_test.py.
|
private |
Definition at line 69 of file server_interceptor_test.py.
|
private |
Definition at line 31 of file server_interceptor_test.py.
|
private |
Definition at line 32 of file server_interceptor_test.py.
|
private |
Definition at line 33 of file server_interceptor_test.py.
tests_aio.unit.server_interceptor_test.level |
Definition at line 333 of file server_interceptor_test.py.
tests_aio.unit.server_interceptor_test.verbosity |
Definition at line 334 of file server_interceptor_test.py.