예제 #1
0
 public Task WriteRstStreamAsync(IChannelHandlerContext ctx, int streamId, Http2Error errorCode, IPromise promise)
 {
     _logger.LogRstStream(Direction.Outbound, ctx, streamId, errorCode);
     return(_writer.WriteRstStreamAsync(ctx, streamId, errorCode, promise));
 }
예제 #2
0
 public void OnRstStreamRead(IChannelHandlerContext ctx, int streamId, Http2Error errorCode)
 {
     _logger.LogRstStream(Direction.Inbound, ctx, streamId, errorCode);
     _listener.OnRstStreamRead(ctx, streamId, errorCode);
 }