IHostBufferPolicySelector.UseBufferedOutputStream Method
Determines whether the host should buffer the [T.System.Net.Http.HttpResponseMessage] entity body.
Namespace: System.Web.Http.Hosting
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Function UseBufferedOutputStream ( _
response As HttpResponseMessage _
) As Boolean
'Usage
Dim instance As IHostBufferPolicySelector
Dim response As HttpResponseMessage
Dim returnValue As Boolean
returnValue = instance.UseBufferedOutputStream(response)
bool UseBufferedOutputStream(
HttpResponseMessage response
)
bool UseBufferedOutputStream(
HttpResponseMessage^ response
)
abstract UseBufferedOutputStream :
response:HttpResponseMessage -> bool
function UseBufferedOutputStream(
response : HttpResponseMessage
) : boolean
Parameters
response
Type: HttpResponseMessageThe HTTP response message.
Return Value
Type: System.Boolean
true if buffering should be used; otherwise a streamed response should be used.