public void OnUnknownFrame(IChannelHandlerContext ctx, Http2FrameTypes frameType, int streamId, Http2Flags flags, IByteBuffer payload) { _logger.LogUnknownFrame(Direction.Inbound, ctx, frameType, streamId, flags, payload); _listener.OnUnknownFrame(ctx, frameType, streamId, flags, payload); }
public virtual void OnUnknownFrame(IChannelHandlerContext ctx, Http2FrameTypes frameType, int streamId, Http2Flags flags, IByteBuffer payload) { _listener.OnUnknownFrame(ctx, frameType, streamId, flags, payload); }
void ReadUnknownFrame(IChannelHandlerContext ctx, IByteBuffer payload, int payloadEndIndex, IHttp2FrameListener listener) { payload = payload.ReadSlice(payloadEndIndex - payload.ReaderIndex); listener.OnUnknownFrame(ctx, _frameType, _streamId, _flags, payload); }