title: ASP.NET Core stream an IAsyncEnumerate on nested property
body: <p>I have read about returning an <code>IAsyncEnumerate&lt;Entity&gt;</code> to take advantage of HTTP streaming.
  This works if I return an <code>IAsyncEnumerate&lt;Entity&gt;</code> as top level.
  so, in the client:</p>
  <pre class="lang-cs prettyprint-override"><code>Stream responseStream = await response.Content.ReadAsStreamAsync().ConfigureAwait(false);
  IAsyncEnumerable&lt;Entity&gt; entities = JsonSerializer.DeserializeAsyncEnumerable&lt;Entity&gt;(
      responseStream,
      new JsonSerializerOptions
      {
          PropertyNameCaseInsensitive = true,
          DefaultBufferSize = 128
      });
  
  await foreach (Entity entity in entities)
  {
      ...
  }
  </code></pre>
  <p>works as expected.</p>
  <p>In my case, my server returns a class where the <code>IAsyncEnumerate&lt;Entity&gt;</code> is a nested property:</p>
  <pre class="lang-cs prettyprint-override"><code>public class ServerResponse
  {
      public int Property1 {get; set;}
      public IAsyncEnumerate&lt;Entity&gt; Entities {get; set;}
  }
  </code></pre>
  <p>In this case, can I get the advantage of streaming on client side?</p>