8 references to Newline
Microsoft.AspNetCore.Http.Connections (8)
ServerSentEventsMessageFormatter.cs (8)
31await output.WriteAsync(Newline, token); 34await output.WriteAsync(Newline, token); 57var length = checked(payload.Length + DataPrefix.Length + (2 * Newline.Length)); 61length = checked(length + ((long)segment.Span.Count(LineFeed) * (DataPrefix.Length + Newline.Length - 1))); 132Newline.Span.CopyTo(output); 133output = output.Slice(Newline.Length); 137Newline.Span.CopyTo(output); 139return initialLength - output.Length + Newline.Length;