protected async virtual void OnSuccessfulResponse <TIncludedDoc>(SearchIndexResponse <TIncludedDoc> response, HttpResponseMessage httpResponse) { using (var content = await httpResponse.Content.ReadAsStreamAsync().ForAwait()) { EntitySerializer.Populate(response, content); } }