6 references to ResponseBody
Microsoft.AspNetCore.Owin (6)
OwinEnvironment.cs (1)
66
{ OwinConstants.
ResponseBody
, new FeatureMap<IHttpResponseBodyFeature>(feature => feature.Stream, () => Stream.Null, (feature, value) => context.Response.Body = (Stream)value) }, // DefaultHttpResponse.Body.Set has built in logic to handle replacing the feature.
OwinFeatureCollection.cs (5)
155
get { return Prop<Stream>(OwinConstants.
ResponseBody
); }
156
set { Prop(OwinConstants.
ResponseBody
, value); }
161
get { return Prop<Stream>(OwinConstants.
ResponseBody
); }
170
_responseBodyWrapper = PipeWriter.Create(Prop<Stream>(OwinConstants.
ResponseBody
), new StreamPipeWriterOptions(leaveOpen: true));
432
await Prop<Stream>(OwinConstants.
ResponseBody
).FlushAsync(cancellationToken);