4 import phone_pb2
as phone__pb2
8 """Missing associated documentation comment in .proto file"""
14 channel: A grpc.Channel.
17 '/grpc.testing.Phone/StreamCall',
18 request_serializer=phone__pb2.StreamCallRequest.SerializeToString,
19 response_deserializer=phone__pb2.StreamCallResponse.FromString,
24 """Missing associated documentation comment in .proto file"""
27 """Makes a phone call and communicate states via a stream.
29 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
30 context.set_details(
'Method not implemented!')
31 raise NotImplementedError(
'Method not implemented!')
35 rpc_method_handlers = {
38 request_deserializer=phone__pb2.StreamCallRequest.FromString,
39 response_serializer=phone__pb2.StreamCallResponse.SerializeToString,
43 'grpc.testing.Phone', rpc_method_handlers)
44 server.add_generic_rpc_handlers((generic_handler,))
49 """Missing associated documentation comment in .proto file"""
55 channel_credentials=
None,
56 call_credentials=
None,
61 return grpc.experimental.stream_stream(request_iterator, target,
'/grpc.testing.Phone/StreamCall',
62 phone__pb2.StreamCallRequest.SerializeToString,
63 phone__pb2.StreamCallResponse.FromString,
64 options, channel_credentials,
65 call_credentials, compression, wait_for_ready, timeout, metadata)