OwinBufferPolicySelector.UseBufferedOutputStream Method (HttpResponseMessage)
Determines whether the host should buffer the HttpResponseMessage entity body.
Namespace: System.Web.Http.Owin
Assembly: System.Web.Http.Owin (in System.Web.Http.Owin.dll)
Syntax
public bool UseBufferedOutputStream(
HttpResponseMessage response
)
public:
virtual bool UseBufferedOutputStream(
HttpResponseMessage^ response
) sealed
abstract UseBufferedOutputStream :
response:HttpResponseMessage -> bool
override UseBufferedOutputStream :
response:HttpResponseMessage -> bool
Public Function UseBufferedOutputStream (
response As HttpResponseMessage
) As Boolean
Parameters
response
Type: System.Net.Http.HttpResponseMessageThe response.
Return Value
Type: System.Boolean
true if buffering should be used; otherwise a streamed response should be used.
Implements
IHostBufferPolicySelector.UseBufferedOutputStream(HttpResponseMessage)
See Also
OwinBufferPolicySelector Class
System.Web.Http.Owin Namespace
Return to top