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