Example #1
0
            public global::grpc.testing.Empty EmptyCall(global::grpc.testing.Empty request, CancellationToken token = default(CancellationToken))
            {
                var call = CreateCall(__ServiceName, __Method_EmptyCall);

                return(Calls.BlockingUnaryCall(call, request, token));
            }
Example #2
0
            public Task <global::grpc.testing.Empty> EmptyCallAsync(global::grpc.testing.Empty request, Metadata headers = null, CancellationToken cancellationToken = default(CancellationToken))
            {
                var call = CreateCall(__ServiceName, __Method_EmptyCall, headers);

                return(Calls.AsyncUnaryCall(call, request, cancellationToken));
            }
Example #3
0
            public AsyncUnaryCall <global::grpc.testing.Empty> EmptyCallAsync(global::grpc.testing.Empty request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
            {
                var call = CreateCall(__Method_EmptyCall, new CallOptions(headers, deadline, cancellationToken));

                return(Calls.AsyncUnaryCall(call, request));
            }
Example #4
0
            public AsyncUnaryCall <global::grpc.testing.Empty> EmptyCallAsync(global::grpc.testing.Empty request, CallOptions options)
            {
                var call = CreateCall(__Method_EmptyCall, options);

                return(Calls.AsyncUnaryCall(call, request));
            }
Example #5
0
            public global::grpc.testing.Empty EmptyCall(global::grpc.testing.Empty request, CallOptions options)
            {
                var call = CreateCall(__Method_EmptyCall, options);

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