コード例 #1
0
 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;
 }
コード例 #2
0
 public HttpContentClientStreamReader(GrpcCall <TRequest, TResponse> call)
 {
     _call         = call;
     _moveNextLock = new object();
 }