31 references to SendAsync
InMemory.FunctionalTests (31)
Http2\Http2ConnectionTests.cs (5)
2732
await
SendAsync
(payload);
5827
await
SendAsync
(Http2Connection.ClientPreface);
5843
await
SendAsync
(Encoding.ASCII.GetBytes("GET / HTTP/1.1\r\n"));
5857
await
SendAsync
(Encoding.ASCII.GetBytes($"GET /{new string('a', _connection.Limits.MaxRequestLineSize)} HTTP/1.1\r\n"));
5878
await
SendAsync
(Encoding.ASCII.GetBytes("GET / HTTP/1.1\r\n"));
Http2\Http2TestBase.cs (26)
793
protected Task SendPreambleAsync() =>
SendAsync
(Http2Connection.ClientPreface);
808
await
SendAsync
(new byte[length]);
822
await
SendAsync
(payload);
834
await
SendAsync
(payload);
852
await
SendAsync
(payload);
878
await
SendAsync
(buffer.Span.Slice(0, length));
897
await
SendAsync
(headerBlock);
916
await
SendAsync
(payload);
934
await
SendAsync
(payload);
948
await
SendAsync
(buffer.Span.Slice(0, length));
962
await
SendAsync
(payload);
976
await
SendAsync
(buffer.Span.Slice(0, length));
1019
await
SendAsync
(payload);
1049
await
SendAsync
(data.Span);
1050
await
SendAsync
(new byte[padLength]);
1070
return
SendAsync
(payload);
1079
return
SendAsync
(new byte[8]); // Empty payload
1089
return
SendAsync
(new byte[length]);
1101
return
SendAsync
(new byte[pingFrame.PayloadLength]);
1122
return
SendAsync
(payload);
1133
return
SendAsync
(new byte[length]);
1150
return
SendAsync
(payload);
1160
return
SendAsync
(new byte[length]);
1169
return
SendAsync
(new byte[frame.PayloadLength]);
1179
return
SendAsync
(new byte[frame.PayloadLength]);
1196
return
SendAsync
(new byte[length]);