5 references to ClientPreface
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\Http1Connection.cs (1)
856var clientPrefaceRequestLine = Http2.Http2Connection.ClientPreface.Slice(0, PrefaceLineLength);
Internal\Http2\Http2Connection.cs (4)
564if (readableBuffer.Length >= ClientPreface.Length) 663Debug.Assert(buffer.Length >= ClientPreface.Length, "Not enough content to match preface."); 665var preface = buffer.Slice(0, ClientPreface.Length); 668if (!span.SequenceEqual(ClientPreface))