11 references to ToSpan
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (3)
379
var suffixSpan = suffixBuffer.
ToSpan
();
428
var suffixSpan = suffixBuffer.
ToSpan
();
456
var trailerSpan = trailerBuffer.
ToSpan
();
Internal\Http\Http1Connection.cs (1)
857
var currentRequestLine = requestData.Slice(0, PrefaceLineLength).
ToSpan
();
Internal\Http\HttpParser.cs (3)
393
RejectRequestHeader(currentSlice.Slice(0, headerLength + 1).
ToSpan
());
410
RejectRequestHeader(currentSlice.Slice(0, headerLength + 1).
ToSpan
());
424
RejectRequestHeader(currentSlice.Slice(0, headerLength).
ToSpan
());
Internal\Http2\Http2Connection.cs (1)
666
var span = preface.
ToSpan
();
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (3)
49
var header = headerSlice.
ToSpan
();
89
var extendedHeaders = readableBuffer.Slice(HeaderLength, extendedHeaderLength).
ToSpan
();
228
var data = payload.
ToSpan
();