10 references to ClientPreface
InMemory.FunctionalTests (4)
BadHttpRequestTests.cs (1)
266
await client.Stream.WriteAsync(Core.Internal.Http2.Http2Connection.
ClientPreface
.ToArray()).DefaultTimeout();
Http2\Http2ConnectionTests.cs (1)
5844
await SendAsync(Http2Connection.
ClientPreface
);
Http2\Http2TestBase.cs (1)
793
protected Task SendPreambleAsync() => SendAsync(Http2Connection.
ClientPreface
);
HttpProtocolSelectionTests.cs (1)
55
Encoding.ASCII.GetString(Http2Connection.
ClientPreface
),
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\Http1Connection.cs (1)
863
var clientPrefaceRequestLine = Http2.Http2Connection.
ClientPreface
.Slice(0, PrefaceLineLength);
Internal\Http2\Http2Connection.cs (4)
564
if (readableBuffer.Length >=
ClientPreface
.Length)
663
Debug.Assert(buffer.Length >=
ClientPreface
.Length, "Not enough content to match preface.");
665
var preface = buffer.Slice(0,
ClientPreface
.Length);
668
if (!span.SequenceEqual(
ClientPreface
))
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Http2\Http2ConnectionBenchmarkBase.cs (1)
97
_connectionPair.Application.Output.Write(Http2Connection.
ClientPreface
);