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