WWTMVC5: add a not-implemented form of ServeStreamAsync for now
This commit is contained in:
Родитель
e877230949
Коммит
86a4518154
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче