public HttpContentClientStreamWriter(GrpcCall <TRequest, TResponse> call, Task <Stream> writeStreamTask, TaskCompletionSource <bool> completeTcs) { _call = call; _writeStreamTask = writeStreamTask; _completeTcs = completeTcs; _writeLock = new object(); WriteOptions = _call.Options.WriteOptions; }
public HttpContentClientStreamReader(GrpcCall <TRequest, TResponse> call) { _call = call; _moveNextLock = new object(); }