WWTMVC5: add a not-implemented form of ServeStreamAsync for now

This commit is contained in:
Peter Williams 2021-03-26 11:34:12 -04:00
Родитель e877230949
Коммит 86a4518154
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -83,5 +83,14 @@ namespace WWTMVC5
_context.Response.Write(message);
return Task.CompletedTask;
}
Task IResponse.ServeStreamAsync(Stream stream, string contentType, string etag)
{
// No known reason that we can't implement this; but this API is
// mainly intended for the data services, not the WWTMVC5 app, and
// right now I'm not in a position to easily build and test an
// implementation here.
throw new NotImplementedException();
}
}
}