System\Net\Http\SocketsHttpHandler\Http2Connection.cs (6)
982if (frameHeader.PayloadLength != FrameHeader.PingLength)
990Debug.Assert(sizeof(long) == FrameHeader.PingLength);
991ReadOnlySpan<byte> pingContent = _incomingBuffer.ActiveSpan.Slice(0, FrameHeader.PingLength);
1296PerformWriteAsync(FrameHeader.Size + FrameHeader.PingLength, (thisRef: this, pingContent, isAck), static (state, writeBuffer) =>
1300Debug.Assert(sizeof(long) == FrameHeader.PingLength);
1303FrameHeader.WriteTo(span, FrameHeader.PingLength, FrameType.Ping, state.isAck ? FrameFlags.Ack : FrameFlags.None, streamId: 0);