示例#1
0
 public Task WriteRstStreamAsync(int streamId, Http2ErrorCode errorCode)
 {
     lock (_writeLock)
     {
         _outgoingFrame.PrepareRstStream(streamId, errorCode);
         return(WriteAsync(_outgoingFrame.Raw));
     }
 }