private async Task ReceiveTimeoutResponse(InMemoryConnection connection, TestServiceContext testContext) { await connection.Receive( "HTTP/1.1 408 Request Timeout", "Content-Length: 0", "Connection: close", $"Date: {testContext.DateHeaderValue}", "", ""); }
private async Task ReceiveResponse(InMemoryConnection connection, TestServiceContext testContext) { await connection.Receive( "HTTP/1.1 200 OK", $"Date: {testContext.DateHeaderValue}", "Transfer-Encoding: chunked", "", "c", "hello, world", "0", "", ""); }