Grpc.Net.Client.Internal.GrpcCall<TRequest, TResponse>
sealed class GrpcCall<TRequest, TResponse> : GrpcCall, IGrpcCall<TRequest, TResponse>, IDisposable, IEnumerable<KeyValuePair<string, object>>, IEnumerable
public GrpcCall(Method<TRequest, TResponse> method, GrpcMethodInfo grpcMethodInfo, CallOptions options, GrpcChannel channel, int attemptCount, bool forceAsyncHttpResponse)
public Exception EnsureUserCancellationTokenReported(Exception ex, CancellationToken cancellationToken)
Used by response stream reader to report it is finished.
public void StartDuplexStreamingCore(HttpContentClientStreamWriter<TRequest, TResponse> clientStreamWriter, HttpContent content)
public bool TryRegisterCancellation(CancellationToken cancellationToken, out Nullable cancellationTokenRegistration)
public Task WriteClientStreamAsync<TState>(Func<GrpcCall<TRequest, TResponse>, Stream, CallOptions, TState, Task> writeFunc, TState state, CancellationToken cancellationToken)