(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption)
| 120 | } |
| 121 | |
| 122 | func (c *testServiceClient) StreamingOutputCall(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StreamingOutputCallResponse], error) { |
| 123 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 124 | stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[0], TestService_StreamingOutputCall_FullMethodName, cOpts...) |
| 125 | if err != nil { |
| 126 | return nil, err |
| 127 | } |
| 128 | x := &grpc.GenericClientStream[StreamingOutputCallRequest, StreamingOutputCallResponse]{ClientStream: stream} |
| 129 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 130 | return nil, err |
| 131 | } |
| 132 | if err := x.ClientStream.CloseSend(); err != nil { |
| 133 | return nil, err |
| 134 | } |
| 135 | return x, nil |
| 136 | } |
| 137 | |
| 138 | // This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. |
| 139 | type TestService_StreamingOutputCallClient = grpc.ServerStreamingClient[StreamingOutputCallResponse] |
nothing calls this directly
no test coverage detected