(ctx context.Context, opts ...grpc.CallOption)
| 152 | type TestService_StreamingInputCallClient = grpc.ClientStreamingClient[StreamingInputCallRequest, StreamingInputCallResponse] |
| 153 | |
| 154 | func (c *testServiceClient) FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StreamingOutputCallRequest, StreamingOutputCallResponse], error) { |
| 155 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 156 | stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[2], TestService_FullDuplexCall_FullMethodName, cOpts...) |
| 157 | if err != nil { |
| 158 | return nil, err |
| 159 | } |
| 160 | x := &grpc.GenericClientStream[StreamingOutputCallRequest, StreamingOutputCallResponse]{ClientStream: stream} |
| 161 | return x, nil |
| 162 | } |
| 163 | |
| 164 | // This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. |
| 165 | type TestService_FullDuplexCallClient = grpc.BidiStreamingClient[StreamingOutputCallRequest, StreamingOutputCallResponse] |
nothing calls this directly
no test coverage detected