Classes | Functions | Variables
tests_aio.unit.server_interceptor_test Namespace Reference

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
 

Function Documentation

◆ _create_server_stub_pair()

Tuple[aio.Server, test_pb2_grpc.TestServiceStub] tests_aio.unit.server_interceptor_test._create_server_stub_pair ( *aio.ServerInterceptor   interceptors)
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.

◆ _filter_server_interceptor()

aio.ServerInterceptor tests_aio.unit.server_interceptor_test._filter_server_interceptor ( Callable  condition,
aio.ServerInterceptor  interceptor 
)
private

Definition at line 69 of file server_interceptor_test.py.

Variable Documentation

◆ _NUM_STREAM_RESPONSES

int tests_aio.unit.server_interceptor_test._NUM_STREAM_RESPONSES = 5
private

Definition at line 31 of file server_interceptor_test.py.

◆ _REQUEST_PAYLOAD_SIZE

int tests_aio.unit.server_interceptor_test._REQUEST_PAYLOAD_SIZE = 7
private

Definition at line 32 of file server_interceptor_test.py.

◆ _RESPONSE_PAYLOAD_SIZE

int tests_aio.unit.server_interceptor_test._RESPONSE_PAYLOAD_SIZE = 42
private

Definition at line 33 of file server_interceptor_test.py.

◆ level

tests_aio.unit.server_interceptor_test.level

Definition at line 333 of file server_interceptor_test.py.

◆ verbosity

tests_aio.unit.server_interceptor_test.verbosity

Definition at line 334 of file server_interceptor_test.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:53