コード例 #1
0
ファイル: TestGrpc.cs プロジェクト: arkmaxim/grpc
 /// <summary>
 ///  One request followed by a sequence of responses (streamed download).
 ///  The server returns the payload with client desired type and sizes.
 /// </summary>
 public virtual AsyncServerStreamingCall <global::Grpc.Testing.StreamingOutputCallResponse> StreamingOutputCall(global::Grpc.Testing.StreamingOutputCallRequest request, CallOptions options)
 {
     return(CallInvoker.AsyncServerStreamingCall(__Method_StreamingOutputCall, null, options, request));
 }
コード例 #2
0
ファイル: TestGrpc.cs プロジェクト: arkmaxim/grpc
 /// <summary>
 ///  One request followed by a sequence of responses (streamed download).
 ///  The server returns the payload with client desired type and sizes.
 /// </summary>
 public virtual AsyncServerStreamingCall <global::Grpc.Testing.StreamingOutputCallResponse> StreamingOutputCall(global::Grpc.Testing.StreamingOutputCallRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(StreamingOutputCall(request, new CallOptions(headers, deadline, cancellationToken)));
 }
コード例 #3
0
            public AsyncServerStreamingCall <global::Grpc.Testing.StreamingOutputCallResponse> StreamingOutputCall(global::Grpc.Testing.StreamingOutputCallRequest request, CallOptions options)
            {
                var call = CreateCall(__Method_StreamingOutputCall, options);

                return(Calls.AsyncServerStreamingCall(call, request));
            }
コード例 #4
0
ファイル: TestGrpc.cs プロジェクト: arkmaxim/grpc
 /// <summary>
 ///  One request followed by a sequence of responses (streamed download).
 ///  The server returns the payload with client desired type and sizes.
 /// </summary>
 public virtual global::System.Threading.Tasks.Task StreamingOutputCall(global::Grpc.Testing.StreamingOutputCallRequest request, IServerStreamWriter <global::Grpc.Testing.StreamingOutputCallResponse> responseStream, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
コード例 #5
0
            public AsyncServerStreamingCall <global::Grpc.Testing.StreamingOutputCallResponse> StreamingOutputCall(global::Grpc.Testing.StreamingOutputCallRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
            {
                var call = CreateCall(__Method_StreamingOutputCall, new CallOptions(headers, deadline, cancellationToken));

                return(Calls.AsyncServerStreamingCall(call, request));
            }