10 references to ClientPreface
InMemory.FunctionalTests (4)
BadHttpRequestTests.cs (1)
266await client.Stream.WriteAsync(Core.Internal.Http2.Http2Connection.ClientPreface.ToArray()).DefaultTimeout();
Http2\Http2ConnectionTests.cs (1)
5844await SendAsync(Http2Connection.ClientPreface);
Http2\Http2TestBase.cs (1)
793protected Task SendPreambleAsync() => SendAsync(Http2Connection.ClientPreface);
HttpProtocolSelectionTests.cs (1)
55Encoding.ASCII.GetString(Http2Connection.ClientPreface),
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\Http1Connection.cs (1)
863var 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))
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Http2\Http2ConnectionBenchmarkBase.cs (1)
97_connectionPair.Application.Output.Write(Http2Connection.ClientPreface);