public Task WriteDataAsync(IChannelHandlerContext ctx, int streamId, IByteBuffer data, int padding, bool endOfStream, IPromise promise) { _logger.LogData(Direction.Outbound, ctx, streamId, data, padding, endOfStream); return(_writer.WriteDataAsync(ctx, streamId, data, padding, endOfStream, promise)); }
public int OnDataRead(IChannelHandlerContext ctx, int streamId, IByteBuffer data, int padding, bool endOfStream) { _logger.LogData(Direction.Inbound, ctx, streamId, data, padding, endOfStream); return(_listener.OnDataRead(ctx, streamId, data, padding, endOfStream)); }