Lines Matching refs:stub
38 def simple_method(stub): argument
42 response = stub.SimpleMethod(request)
51 def client_streaming_method(stub): argument
63 response = stub.ClientStreamingMethod(request_messages())
72 def server_streaming_method(stub): argument
76 response_iterator = stub.ServerStreamingMethod(request)
87 def bidirectional_streaming_method(stub): argument
101 response_iterator = stub.BidirectionalStreamingMethod(request_messages())
111 stub = demo_pb2_grpc.GRPCDemoStub(channel)
113 simple_method(stub)
115 client_streaming_method(stub)
117 server_streaming_method(stub)
119 bidirectional_streaming_method(stub)