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